Worker watchdog grace not configurable (copied constant); new heartbeat options missing from effective config/Settings #224
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?
Residuals from #218:
WorkerOptions.WorkerWatchdogGraceSeconds), so the two can drift. Export it like the heartbeat settings, or derive the validation from one shared source.EffectiveWorkerConfiguration(positional record) and the dashboard Settings page do not show WorkerHeartbeatSendIntervalSeconds / WorkerHeartbeatStuckCeilingSeconds.Fixed on main
22964e19: new MxGateway:Worker:WorkerHeartbeatGraceSeconds (default 15) exported as MXGATEWAY_WORKER_HEARTBEAT_GRACE_MS and read by WorkerPipeSessionOptions.FromEnvironment (an invalid ceiling≤grace combo falls back to the default grace, worker still starts). Gateway validates the worker stuck ceiling against the configured grace (1–86400); the copied WorkerWatchdogGraceSeconds constant is gone. EffectiveWorkerConfiguration + Settings page show worker send interval, watchdog grace, stuck ceiling. Tests: SettingsPage_RendersWorkerHeartbeatOptions (fails with the page reverted), validator, launcher and 2 new WorkerPipeSessionOptions cases. Evidence: Mac NonWindows.slnx 0 warnings, MxGateway.Tests 1406 passed / 2 skipped (after rebase); windev x86 Release build 0 warnings, Worker.Tests 759 passed / 12 skipped.