Repository navigation
fix(tests): docs wording and swebench sanity expectation for the sandbox failure contract - #5671
AdamRajfer wants to merge 1 commit into
Conversation
…ith the sandbox failure contract The rollout failures page said "a kill-shaped exit", which the docs test keeps out of the latest pages; it now says a process killed by a signal. The swebench verifier sandbox observation now carries the contract's stage field, which is None there, so the sanity test expects it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Adam Rajfer <[email protected]>
|
/ok to test 03c1ce3 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
One non-blocking documentation NOTE: the new OOM example blurs failure kinds with different retry defaults. The SWE-bench expectation matches the existing observation schema and response producer.
I reviewed both changed files and their directly affected contracts and tests. This was a source-only review; I didn't execute tests or build the docs.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
| | Confirmed OOM during `seed` | `retry` | `evaluation` | | ||
| | Inconclusive verification attempt, including confirmed OOM | `retry` | `evaluation` | | ||
| | Verification failure reporting cancellation, shutdown, a kill-shaped exit or rejected credentials | `fail` ungraded | `evaluation` | | ||
| | Verification failure reporting cancellation, shutdown, a process killed by a signal (such as SIGTERM or an out-of-memory kill) or rejected credentials | `fail` ungraded | `evaluation` | |
There was a problem hiding this comment.
NOTE — Suggested clarification: distinguish lifecycle termination from confirmed sandbox OOM.
The new unqualified example, “an out-of-memory kill,” also describes the preceding row's confirmed verifier-sandbox OOM. That case selects retry/evaluation, not this row's fail/evaluation: choose_stage_outcome(failure_kind="provider_oom_killed", http_status=None, stage="verification", config=StageOutcomePolicyConfig()) follows the verification retry default. The separate lifecycle failure kind covers SIGTERM, a dead Ray actor and an OOM outside the rollout's own process. As written, operators get conflicting expectations for confirmed verifier OOM.
Could you qualify the example without changing runtime policy?
| | Verification failure reporting cancellation, shutdown, a process killed by a signal (such as SIGTERM or an out-of-memory kill) or rejected credentials | `fail` ungraded | `evaluation` | | |
| | Verification failure reporting cancellation, shutdown, lifecycle termination (such as SIGTERM, a dead Ray actor or an OOM outside the rollout's own process) or rejected credentials | `fail` ungraded | `evaluation` | |
Acceptance by source inspection: keep the preceding confirmed-OOM row at retry/evaluation, and keep lifecycle termination, cancellation, shutdown and rejected credentials at fail/evaluation. Preserve the existing OOM assertions: agent OOM is count_as_zero/model, seed and verification OOM are retry/evaluation, and unknown-stage OOM is fail/unknown. The stop/credentials assertions should remain unchanged. The suggested row also avoids the literal wording rejected by the docs check. This suggestion hasn't been executed or tested.
|
Superseded: the branch now carries both fixes (plain-language wording in rollout-failures.mdx and the stage field in the swebench sanity test). Closing. |
Fixes the two CI failures on this branch: the rollout failures page now describes a signal-killed process in plain words instead of "kill-shaped exit", which
test_fern_docs_links.pyrejects. The swebench sanity test now expects the"stage": Nonefield that the sandbox observation contract emits.🤖 Generated with Claude Code