anyone else experiencing an outage with some workers?
anyone else experiencing an outage with some workers?
Uncaught Error: Disallowed operation called within global scope.. I believe it is related to this block of code when looking at the wrangler server compilation... in particular the var neverAbortedSignal...
env , here’s a demo: https://github.com/cloudflare/js-rpc-and-entrypoints-demo/tree/main/public-admin-api-interfaces/db-service. I haven’t tried it myself though
Cannot create binding for class in script 'worker-A' that does not exist [code: 10061]Uncaught Error: Disallowed operation called within global scope.var neverAbortedSignal...// node_modules/cockatiel/dist/esm/common/abort.js
var neverAbortedSignal = new AbortController().signal;
var cancelledSrc = new AbortController();
cancelledSrc.abort();
var abortedSignal = cancelledSrc.signal;envCannot create binding for class in script 'worker-A' that does not exist [code: 10061]✔ script to run › worker:dev-local
$ wrangler dev
⛅️ wrangler 3.84.0
-------------------
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Workflows:
- SEARCH_WORKFLOW: SearchWorkflow
- TEST_WORKFLOW: TestWorkflow
- Services:
- TEST_SERVICE: 🔴 test-service#TestService
- Vars:
- TURSO_TOKEN: "(hidden)"
- TURSO_URL: "(hidden)"
- WEBSHARE_PROXY_URL: "(hidden)"
- CLOUDFLARE_ACCOUNT_ID: "(hidden)"
- CLOUDFLARE_ACCESS_KEY_ID: "(hidden)"
- CLOUDFLARE_SECRET_ACCESS_KEY: "(hidden)"
▲ [WARNING] This worker is bound to live services: TEST_SERVICE (test-service#TestService)
[wrangler:inf] Ready on http://localhost:8787
⎔ Starting local server...
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose# wrangler.toml B
name = "worker-B"
# ...
[env.dev.durable_objects]
bindings = [
{ name = "DO", class_name = "Do", script_name="worker-A" }
]# wrangler.toml A
name = "worker-A"
# ...
[env.dev.durable_objects]
bindings = [
{ name = "DO", class_name = "Do" }
]
[[migrations]]
tag = "v1"
new_sqlite_classes = ["Do"]