Worker: correct exit codes for gateway death and event-queue overflow (R21-O5, O6) #186
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Worker exit codes:
EndOfStreamand exits 6 (ProtocolViolation) instead of 5.UnexpectedFailure(1).Source:
archreview/2026-10-21/remediation/00-tracking.mdrow R21-O5, R21-O6 (cycle-1 WRK-17, WRK-18)Next step (from the tracker): O5: map
EndOfStreamtoPipeConnectionFailedwith aWorkerApplicationTestscase. O6: add a dedicated exit code (7 is now used for unhandled exceptions, so use 8) and update the overflow paragraph ofdocs/MxAccessWorkerInstanceDesign.md.Current-state evidence: the row is still
Open/Deferredin the latest (2026-10-21) tracker, and a code check on localmain@8c0a51d(2026-11-06) found it still present unless noted below.