Skip to content

feat(launch): forward the P0-#5 watchdog knobs through the ring launcher - #122

Merged
leyten merged 1 commit into
masterfrom
eagle/launcher-knobs
Jul 20, 2026
Merged

feat(launch): forward the P0-#5 watchdog knobs through the ring launcher#122
leyten merged 1 commit into
masterfrom
eagle/launcher-knobs

Conversation

@leyten

@leyten leyten commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Follow-up to #120. The watchdog env flags were unreachable in a real deployment: the launcher only forwards ENG_ENV to stages / the gateway coordinator, and the new knobs were not in it — a flag a stage never receives is dead code.

Adds to ENG_ENV: M25_RET_STALL_S (tail-side return-socket stall bound), M25_DRAFT_BUDGET_S + M25_JOB_STALL_S (coordinator-side draft budget + job-stall backstop), and M25_REPLY_TIMEOUT (the F6 heartbeat, forwardable for the --serve gateway path). Now the tail actually gets its stall bound and a gateway launch can tune the budgets. Needed to run the controlled-ring validation with a fast (non-default) stall bound.

The watchdog env flags (#120) were unreachable in a real deployment: the
launcher only forwards ENG_ENV to stages/gateway, and M25_RET_STALL_S (tail),
M25_DRAFT_BUDGET_S/M25_JOB_STALL_S (coordinator) plus M25_REPLY_TIMEOUT
weren't in it. A flag a stage never receives is dead. Add them so the tail
gets its stall bound and a --serve gateway coordinator gets the budgets.
@leyten
leyten merged commit cf02dfd into master Jul 20, 2026
2 checks passed
@leyten
leyten deleted the eagle/launcher-knobs branch July 20, 2026 15:40
leyten added a commit that referenced this pull request Jul 20, 2026
…123)

Controlled-ring validation closes P0-#5: shipped #120 build + #122 knobs serve M2.5 over a real 3-region WAN ring (degraded=false, receipts chained under one nonce); the sustained-backpressure M1 wedge is not reproducible on a fast datacenter ring by construction (depth-1 EAGLE, 4-6MB buffers, no NET_ADMIN) — proven offline in test_ret_stallguard.py. Marks P0-#5 DONE, adds the receipt.
leyten added a commit that referenced this pull request Jul 22, 2026
…her (#122)

The watchdog env flags from #120 were unreachable in a real deployment — the launcher only forwards ENG_ENV to stages/gateway, and M25_RET_STALL_S (tail), M25_DRAFT_BUDGET_S/M25_JOB_STALL_S (coordinator), M25_REPLY_TIMEOUT werent in it. Adds them so the tail gets its stall bound and a --serve gateway coordinator can tune the budgets.
leyten added a commit that referenced this pull request Jul 22, 2026
…123)

Controlled-ring validation closes P0-#5: shipped #120 build + #122 knobs serve M2.5 over a real 3-region WAN ring (degraded=false, receipts chained under one nonce); the sustained-backpressure M1 wedge is not reproducible on a fast datacenter ring by construction (depth-1 EAGLE, 4-6MB buffers, no NET_ADMIN) — proven offline in test_ret_stallguard.py. Marks P0-#5 DONE, adds the receipt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant