A refused announcement is said, never fatal (hq issue 217) #43

Merged
mesh-admin merged 1 commits from fix/a-refused-announcement-is-not-fatal into main 2026-10-03 21:24:51 +00:00
Contributor

hq issue 217's remaining half. The TypeScript runtime's raw subscription that answers discovery ran its loop unguarded; a refusal escaped as an unhandled rejection and ended the process — which is what crash-looped every per-module container on 2026-10-03 over a subscription that only serves discovery. Now caught, logged ("discovery will not see this runtime there, and it serves on"), and the runtime keeps serving. New test against a NATS server whose permissions deny $SRV.PING.> (fixture config; MESH_TEST_REFUSING_NATS): passes, and fails without the fix. Full TS suite 38/38. (The Go runtime already logs a refused announcement and carries on.)

hq issue 217's remaining half. The TypeScript runtime's raw subscription that answers discovery ran its loop unguarded; a refusal escaped as an unhandled rejection and ended the process — which is what crash-looped every per-module container on 2026-10-03 over a subscription that only serves discovery. Now caught, logged ("discovery will not see this runtime there, and it serves on"), and the runtime keeps serving. New test against a NATS server whose permissions deny `$SRV.PING.>` (fixture config; `MESH_TEST_REFUSING_NATS`): passes, and fails without the fix. Full TS suite 38/38. (The Go runtime already logs a refused announcement and carries on.)
mesh-admin added 1 commit 2026-10-03 21:24:45 +00:00
The raw subscription that answers discovery ran its loop unguarded, so a refusal escaped as an
unhandled rejection and ended the process: every per-module container crash-looped on 2026-10-03
over a subscription that only serves the mesh seeing the runtime. It is now caught, logged, and the
runtime serves on. Tested against a bus whose permissions refuse the subject; fails without it.
mesh-admin merged commit 7bd76275f9 into main 2026-10-03 21:24:51 +00:00
mesh-admin deleted branch fix/a-refused-announcement-is-not-fatal 2026-10-03 21:24:51 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-tools#43