Skip to content

fix(tests): docs wording and swebench sanity expectation for the sandbox failure contract - #5671

Closed
AdamRajfer wants to merge 1 commit into
mpatelka/sandbox-failure-contracts-4685from
arajfer/5127-ci-fixes
Closed

AdamRajfer wants to merge 1 commit into
mpatelka/sandbox-failure-contracts-4685from
arajfer/5127-ci-fixes

Conversation

@AdamRajfer

Copy link
Copy Markdown
Contributor

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.py rejects. The swebench sanity test now expects the "stage": None field that the sandbox observation contract emits.

🤖 Generated with Claude Code

…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]>
@AdamRajfer AdamRajfer self-assigned this Nov 5, 2026
@AdamRajfer

Copy link
Copy Markdown
Contributor Author

/ok to test 03c1ce3

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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` |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Suggested change
| 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.

@AdamRajfer

Copy link
Copy Markdown
Contributor Author

Superseded: the branch now carries both fixes (plain-language wording in rollout-failures.mdx and the stage field in the swebench sanity test). Closing.

This branch was previously deployed

1 inactive deployment
public — 03c1ce38 Deployed Nov 5, 2026 by copy-pr-bot[bot] via release / finalize / notify #10332
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.

2 participants