Repository navigation
fix(bench): subprocess ceiling + process-group kill at the grader's one seam (#381) - #2214
Merged
Merged
Conversation
…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
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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