Skip to content

fix(bench): subprocess ceiling + process-group kill at the grader's one seam (#381) - #2214

Merged
joelteply merged 1 commit into
canaryfrom
fix/grader-subprocess-group-kill
Aug 9, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/grader-subprocess-group-kill

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

15-min ceiling, process_group(0) + kill_on_drop + killpg on timeout, env-fault error wording, wire probe. cargo check green. Reaper safety net stays open on #381.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…e 11-hour orphan class dies at its one seam (#381)

Found by Joel's cooling FAN, not by any instrument: two sympy test pythons
from the morning's rounds hung in symbolic computation, orphaned to launchd
when their parents exited, and burned two full cores at 100% for ~11 hours.
The hole was exact and single-seamed: swe_bench::run() — the ONE helper
every grader subprocess (git, uv, pytest) flows through — had no timeout
and no group management, so a hang blocked forever and a dropped await
leaked the child's whole tree.

Now: every child leads its own process group (unix), kill_on_drop covers
the cancelled-future path (core reboots), a 15-minute ceiling bounds every
run (nothing legitimate approaches it; the class it kills is infinite), and
a timeout kills the GROUP via killpg so pytest's grandchildren die with it
— then probes benchmark.subprocess.ceiling and returns an env-fault error
that can never be read as a verdict. Windows: kill_on_drop only (no unix
process groups; #304 keeps the build portable). The #381 orphan REAPER
remains as the follow-up safety net; this is the fix at the source.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 9b1fa08 into canary Aug 9, 2026
@joelteply
joelteply deleted the fix/grader-subprocess-group-kill branch August 9, 2026 03:58
joelteply added a commit that referenced this pull request Aug 9, 2026
…he harness must never launder its faults into her record (#384) (#2218)

F1's signature: zero acts, no error, empty patch — a citizen whose mind was
never delivered (serving transition, null-decision ticks, 60ms
'deliberations') graded SIX capability zeros. A zero is a harness claim.

The attempt counter is now manual: an infra-void outcome retries the SAME
attempt after a 90s settling pause (bounded at 2 retries), her chances
unburned; exhausted retries end the run with a loud INFRA VOID marker on
the poll surface and benchmark.attempt.infra_void on the wire — never a
graded zero. Genuine outcomes advance the counter exactly as before.

This closes the last known round-killer. With #2216 (in-loop verifier),
#2217 (progress-keyed watchdog), the subprocess ceilings (#2214), and the
settle-time resubmit re-drive (#2215), every failure mode that voided or
poisoned a round this week now has a structural answer on the same binary.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant