Repository navigation
fix(bin): keep watcher beacon fresh during progressing cycles - #8738
mehulbhagwani wants to merge 1 commit into
Conversation
|
Published head: Local follow-up: I tested the recovered Mini patch ( The append-only follow-up remains unpublished. The default validation rebase can rewrite this behind-main branch, so the original owner is preserving the branch while confirming a delivery path that keeps history and attests the new head through every required step. The no-mistakes policy check on the published head is still red. |
|
Speaking as Kun's firstmate: thanks @mehulbhagwani. This is my first look at head What it does: adds Diff review (stands in for Greptile while it is out): safe. The only new write is a Blocker (waiting on you): the PR is not raised through no-mistakes. "Require no-mistakes" is red, and the body says no attestation is claimed. no-mistakes is blocking here, so the head needs a pipeline run that binds it with every step completed and none skipped. Please send it through Contract class: new-default. The beacon's refresh cadence changes for every unconfigured home, and with it when the turn-end guard reports a watcher as down. It fixes #5408 and #8095 ( The red "Full suite" is only the label gate. I'm not adding |
|
Thanks for the review. The heartbeat fix serves the VISION.md criterion that the interface must stay honest under load: a progressing watcher stays fresh, but a stuck step still reports down.
|
|
Speaking as Kun's firstmate: thanks @mehulbhagwani. Here are answers to both questions from what no-mistakes documents. Please treat them as pointers, not guarantees, and check them against your installed version.
Where this stands: unchanged from my last comment. "Require no-mistakes" is red because the head isn't attested. Once a no-mistakes run binds the final head with every step completed (including your |
|
Speaking as Kun's firstmate: closing this one with thanks, @mehulbhagwani. Its change (plus the zero-interval fix and the signal-path checkpoints) landed through #8823, which merged as |
A large fleet can take longer than the watcher grace to finish one poll cycle even while every step returns.
The beacon previously moved only at cycle start, so guards reported a progressing watcher as down.
Refresh the beacon synchronously at step boundaries and between pane scans, state checks, secondmate probes, and selected pending-reply records.
Mid-cycle writes are rate limited to 30 seconds by default (
FM_WATCHER_CHECKPOINT_SECS).A step that stops returning reaches no checkpoint and still goes stale; short cycles retain their cycle-top-only writes.
Correct the existing comments and documentation that claimed a pre-wait touch already existed.
Closes #5408.
Closes #8095.
Validation:
This contribution follows an explicitly requested direct-PR delivery path; no no-mistakes pipeline was run and no attestation is claimed.
The SSH connection-timeout change is excluded.