So I’ve got this worker that I’ve been working on in the dashboard, and all of a sudden all testing calls start returning "Error 1104 “Script not found” . I commented out all code except for a console.log and 200 Response. and it still does the same thing!
And then… I closed it, went back to the dashboard, and re-opened it - only to find that the code was all uncommented! Meaning that it when I cllicked “save and deploy” and it said it saved and deployed… it didn’t.
It quickly went back to Error 1104 (also all by itself). I created a new Worker and copied the code etc across - all is fine with that one, so I’ll just keep going with it.
Be good to know if this is an avoidable issue though…
Sadly, not with remote dev/quick edit at the moment. You can use local dev with wrangler (now the default with Wrangler 3.x) and/or wrangler environments to have a staging and prod workers/separation and test on live workers. But they’re not going to work with Dashboard Quick Edit either way.
I’ve had so many issues using Wrangler that I don’t feel confident to deploy a production app using it without a final testing via the dashboard anyway.
Thanks for your help, I think I’ll find a way of getting my solution in place without using queues, a service binding will also work for my use case, or as a last resort R2 + a cron trigger as a “virtual queue” will work too. So I’ll just use that instead.