Repository navigation
Drain sandbox container logs and own bounded cleanup - #515
Conversation
|
Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5 Grading validation is complete; cleanup is not yet confirmed, so this PR remains draft.
All 563 graded k=1 outcomes exactly match baseline (112 pass, 446 fail, five timeout); the 49 no-code responses match separately. Every k=8 sample index covers all 612 inputs. Saved request/output hashes, source provenance, all local starts and the pinned input inventory pass verification. The k=8 run recorded no write/health stalls or unobserved tasks. Timings are descriptive, with no model-quality or causal speed claim. Current e00f5fd/a7f60e3a/c13d2b41 CI passes. The final delta is cleanup-only. Its cleanup smoke at c13d2b41 grades correctly but still logs four |
Skip Podman stop grace during forced sandbox removal.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5 The cleanup blocker is resolved at The control diagnostic confirmed that Podman's default ten-second stop grace consumed the ten-second deadline. Removal now requests zero grace while retaining the deadline. This supersedes the earlier unconfirmed cleanup receipt; prior grading evidence remains attributed to its original source revision. No new inference or upload was performed. |
Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5
Description
Drain SWE-ReX's attached container stdout/stderr from startup, retaining bounded diagnostics so a full pipe cannot block file staging. Own one bounded, idempotent, cancellation-safe shutdown task instead of allowing the SDK destructor to schedule another cleanup. Startup cancellation also cancels and awaits its child task, including Modal startup.
Force-remove Podman containers immediately, including the target image's
dockercompatibility symlink. Podman's default shutdown grace previously consumed the entire removal deadline; the deadline remains ten seconds. Genuine Docker commands are unchanged.Independent prerequisite for isolate-sandbox-commands (#470) and recover-quarantined-sandbox (#471), addressing livecodebench-stalled-execution (#457).
Affected results
Task definitions, graders, metrics and stored task hashes are unchanged. Container startup diagnostics, runtime responsiveness and cleanup change.
Type of Change
Validation
exists,inspectandpschecks confirm absence; attached clients and both capture threads are reaped. Source SHA/module hashes are verified. Only the HTTP readiness/close fixture is substituted; this checks actual deployment startup and cleanup without grading.Prior full grading receipts remain attributed to stack revision 679ae84: k=1 matches baseline; k=8 accounts for all 4,896 saved outputs with zero scoring errors or replacements. The subsequent source delta only changes cleanup. No new inference or upload was performed.
Remaining work
Human review. The adapter uses pinned SDK process/readiness internals, so SDK upgrades require its compatibility tests. SDK image pull/build behavior is unchanged.