Skip to content

fix(guards): ladder-cells producer check reaps its fake serves on SIGKILL - #5868

Closed
noahgift wants to merge 1 commit into
mainfrom
fix/ladder-producer-reap
Closed

noahgift wants to merge 1 commit into
mainfrom
fix/ladder-producer-reap

Conversation

@noahgift

Copy link
Copy Markdown
Member

Root cause of 8 orphaned fake_apr.py serves on lambda (cwd w5382-5761, ppid systemd --user): reap_work is an EXIT trap, which never runs when the check is SIGKILLed (cancelled/timed-out job). Adds a detached setsid watcher that repeats the sweep (match on this run's unique WORK dir) and removes it once the shell is gone. Proven by a SIGKILL repro: serve gone and dir removed within 5 s. Gate-adjacent (scripts/check_*): needs 2 non-author seats; not armed.

🤖 Generated with Claude Code

…IGKILLed (detached watcher)

EXIT traps do not run on SIGKILL; 8 fake_apr serves leaked on lambda.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=5868 head=173a57544ef7682457a01229c2e99de4a7ff6ea7 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift
noahgift marked this pull request as draft October 22, 2026 05:14
@noahgift

Copy link
Copy Markdown
Member Author

superseded by #5927 (EMG-001 epic build-speed; this ticket's commit is in its range)

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