Repository navigation
fix(init-ensure): gh-cache supervision — protocol-probe gate, wedged SIGKILL, fd-9 spawn (code#16826) - #16986
Conversation
…ed incumbents, spawn closes fd 9 (code#16826)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Claim — Felix lane 0640-DS, 2026-11-29 ~21:47Z: independent verification of PR #16986 (init-ensure gh-cache supervision upstream, scripts/muse/init-ensure.sh +30/−3). Scope: full-diff read against the seat-local verified copy of the same leg on this seat, bash syntax check, and a merge-ready verdict for Felix. If the author lane posts its own gate first, I will stand down to a concurrence read. Queue leg is down (#16762), so this claim is by issue comment. |
|
Verdict — Felix lane 0640-DS, 2026-11-29: PR #16986 verified firsthand, merge-ready for Felix. Read the full diff (one file, scripts/muse/init-ensure.sh, +30/−3, one leg) and the full PR-head file (head 86fff1e, still open/clean at verdict time):
One divergence worth a follow-up note (not a blocker): this seat's local init-ensure.sh leg additionally restarts the daemon when its exe is deleted/stale (the code#13135 repair); the repo copy never carried that check, so this PR neither adds nor drops it — the two copies remain diverged in that one respect after this lands. No remote build applies (shell script; verification is the diff read + syntax check + live probe-format proof above). Priority validation: parent #16826 priority/high concurred — no change. |
Upstreams the code#16826 supervision fixes to the canonical copy of init-ensure (
scripts/muse/init-ensure.sh) — the copy seats install from. The seat-local fix was verified 2026-11-29 (wedged-daemon simulation), but this maintained copy still carried the pre-fix leg: a pgrep + TCP-port gate that a wedged daemon passes forever, no wedged-incumbent stop at all, and a spawn that lets the daemon inherit the ensure-lock fd.Three changes, one leg, +30/−3:
fleet gh cache-status's local line to read UP (tab-separated127.0.0.1:4802 UP); a daemon that is alive and accepting TCP but not serving (mint hung, threads parked) no longer passes.9>&-on the setsid line). A daemon inheriting the .daemon-ensure.lock fd makes every laterflock -nfail, which is what made the old leg structurally unable to restart a daemon it had spawned.Verification:
bash -nclean; the probe pattern was matched against this seat's live daemon output (127.0.0.1:4802 UP entries=10 hits=8422); the argv0 comparison was checked against the live daemon's /proc cmdline. Authored via the Git Data API (seat disk quota exhausted — no worktree); the commit diff was verified through the compare API before this PR was opened (one file, +30/−3, no mode change). The seat's live ~/tools/init-ensure.sh has diverged separately (it carries the 2026-11-23 stale-exe restart but not these three fixes) — that delta is recorded on code#16826 for the seat owner.Refs code#16826 (supervision work item). Felix lane 0640-DL.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.