You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
relay conformance: the Worker track answers 503 once a few identities exist under wrangler dev --local #3003
On dev@edee42c153, the Worker track of scripts/relay-conformance.sh fails almost entirely when it runs against the Worker under wrangler dev --local. Once a few test identities exist, the relay answers 503 to every case.
wrangler dev's own log shows no error and no failed span. The Go relay tracks, both in-process and live, are green on the same commit, apart from the stale C7 expectation fixed separately.
Replication
Deterministic (no model). From a clean checkout of dev, run scripts/relay-conformance.sh, with Node 22 and NODE_OPTIONS=--max-old-space-size=2048. The early Worker cases pass. Once several identities have been created, every later request returns 503. Running a small batch of fabric cases against a fresh local Worker each time passes, which points at per-isolate state rather than at the cases.
Field. Not tried against a deployed Worker.
Where
There is one local isolate, and each new identity's Raft member lives in it. The suspected limit is the member's memory budget: search relay/hosted/src/raft for the 64 MB member budget. The script's Worker track (conf_live worker in scripts/relay-conformance.sh) points every case at one wrangler dev process.
The fix
Make the conformance script's Worker track usable locally. Either give each suite, or each batch of identities, its own wrangler dev process, or raise or release the per-identity state the local isolate holds, so the full table can be green on a developer machine. If a deployed Worker would also hit the limit, that is a separate, real bug, and it should be checked.
Acceptance
e2e:scripts/relay-conformance.sh on a clean dev checkout prints a Worker table with zero fail rows (skips allowed and named).
e2e: the Go relay tracks stay as they are.
Unit: none; this is the harness or the isolate budget.
Activity