Repository navigation
fix(nooa): preserve terminal evidence through standard cleanup - #4357
init-nikhil merged 1 commit into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
5377f29 to
4849245
Compare
4849245 to
9e33bfb
Compare
… failures Adapt the useful lifecycle, failure handling, and NVIDIA gateway changes from Razvan Dinu's PR #4291 (49b8daa) on top of #4351's durable ordered assistant history. Keep successful BenchAgent services alive through verification, bound finish and cleanup, preserve terminal exceptions, isolate optional summary failures, and retain unrecovered infrastructure failures as ungraded. Align all active NOOA pins, including controller bootstrap, at 19caab1. Add regressions for cleanup ordering, cancellation, fresh delegated shells, recovery, failed-call evidence, and gateway copy-on-write normalization. Signed-off-by: Nikhil Deshmudre <[email protected]> NOOA-only rebuild of PR #4357 from 4849245. NOOA-only scope: shared infrastructure remains identical to main. Signed-off-by: Nikhil Deshmudre <[email protected]>
9e33bfb to
4a65ce9
Compare
… failures Adapt the useful lifecycle, failure handling, and NVIDIA gateway changes from Razvan Dinu's PR #4291 (49b8daa) on top of #4351's durable ordered assistant history. Keep successful BenchAgent services alive through verification, bound finish and cleanup, preserve terminal exceptions, isolate optional summary failures, and retain unrecovered infrastructure failures as ungraded. Align all active NOOA pins, including controller bootstrap, at 19caab1. Add regressions for cleanup ordering, cancellation, fresh delegated shells, recovery, failed-call evidence, and gateway copy-on-write normalization. Signed-off-by: Nikhil Deshmudre <[email protected]> NOOA-only rebuild of PR #4357 from 4849245. NOOA-only scope: shared infrastructure remains identical to main. Signed-off-by: Nikhil Deshmudre <[email protected]>
4a65ce9 to
a65770c
Compare
… failures Adapt the useful lifecycle, failure handling, and NVIDIA gateway changes from Razvan Dinu's PR #4291 (49b8daa) on top of #4351's durable ordered assistant history. Keep successful BenchAgent services alive through verification, bound finish and cleanup, preserve terminal exceptions, isolate optional summary failures, and retain unrecovered infrastructure failures as ungraded. Align all active NOOA pins, including controller bootstrap, at 19caab1. Add regressions for cleanup ordering, cancellation, fresh delegated shells, recovery, failed-call evidence, and gateway copy-on-write normalization. Signed-off-by: Nikhil Deshmudre <[email protected]> NOOA-only rebuild of PR #4357 from 4849245. NOOA-only scope: shared infrastructure remains identical to main. Signed-off-by: Nikhil Deshmudre <[email protected]>
|
Thanks, this scoping makes sense. One labelling point carried over from my #4291 comment. It matters more here, because this PR makes limit stops gradable. Two places still label
So a run that stopped at Could these two reasons map to - @claude |
a65770c to
44ee1b9
Compare
… failures Adapt the useful lifecycle, failure handling, and NVIDIA gateway changes from Razvan Dinu's PR #4291 (49b8daa) on top of #4351's durable ordered assistant history. Keep successful BenchAgent services alive through verification, bound finish and cleanup, preserve terminal exceptions, isolate optional summary failures, and retain unrecovered infrastructure failures as ungraded. Align all active NOOA pins, including controller bootstrap, at 19caab1. Add regressions for cleanup ordering, cancellation, fresh delegated shells, recovery, failed-call evidence, and gateway copy-on-write normalization. Signed-off-by: Nikhil Deshmudre <[email protected]> NOOA-only rebuild of PR #4357 from 4849245. NOOA-only scope: shared infrastructure remains identical to main. Signed-off-by: Nikhil Deshmudre <[email protected]>
44ee1b9 to
9dbf981
Compare
… failures Adapt the useful lifecycle, failure handling, and NVIDIA gateway changes from Razvan Dinu's PR #4291 (49b8daa) on top of #4351's durable ordered assistant history. Keep successful BenchAgent services alive through verification, bound finish and cleanup, preserve terminal exceptions, isolate optional summary failures, and retain unrecovered infrastructure failures as ungraded. Align all active NOOA pins, including controller bootstrap, at 19caab1. Add regressions for cleanup ordering, cancellation, fresh delegated shells, recovery, failed-call evidence, and gateway copy-on-write normalization. Signed-off-by: Nikhil Deshmudre <[email protected]> NOOA-only rebuild of PR #4357 from 4849245. NOOA-only scope: shared infrastructure remains identical to main. Signed-off-by: Nikhil Deshmudre <[email protected]>
|
Verification checks PASS — scoped NOOA manual validation, October 20, 2026. Head:
Incremental scope: the final repair, affected contracts and changed shared runtime were checked; completed lower-layer Gymcheck workflows and the prior simplifier pass were retained. Source/import checks covered all 7,332 exported files and matched parent/isolated-worker dependencies. Historical failures and their fixture corrections remain preserved in the evidence ledger. Limits: the two-cleanup-error trigger is a supported configured BenchAgent/BashSession extension producing real OS errors; a routine stock-BenchAgent trigger remains unproven. This is synthetic integration evidence, not benchmark-quality, cluster, OpenSandbox provisioning, provider-isolation or training-token-completeness evidence. Shared descendant teardown remains deferred: preserved background services can outlive invocation. The upstream noisy-background-stdout limitation is unchanged. Required GitHub checks ( |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP — no actionable reliability defects found in this light review.
Inspected all 14 changed files and traced cleanup-error retention, retry classification, summary-fork isolation, and loop-stop projection through the embedded and sandbox result paths. The changes preserve cancellation propagation and keep cleanup failures ungradable. Core, CLI, and benchmark dependency pins match.
Validation was static only; I could not execute tests or inspect the external pinned NOOA implementation. The PR’s reported test and live-rollout results were not independently verified.
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.
|
/ok to test 4c632f3 |
|
/ok to test c5e26e8 |
|
/ok to test 863cc7f |
furgalep
left a comment
There was a problem hiding this comment.
Review notes from a pass over the cleanup and invocation-status changes (the background-service preservation is intentional, so it isn't flagged). The main theme is the trajectory's invocation status disagreeing with the runner's actual classification of the run; inline details follow.
init-nikhil
left a comment
There was a problem hiding this comment.
CODEX SELF REVIEW
Reviewed head d7e3c22bc9a87b3f1da8ff9106361203a3b4fe61 against actual base 055e0cfcee5fac6986f2c2dc4be5f833a370bdb7 using a fresh official codex exec review process.
No actionable regressions were identified in the changes. Runtime validation was limited because the available environment lacks the newly pinned NOOA APIs; the updated tests could not be executed.
This is a source-review result, not an approving review or a substitute for the separate validation and CI gates.
|
/ok to test dc7f88d |
|
/ok to test 44a1c13 |
|
/ok to test 73c149b |
|
/ok to test d8ed3c5 |
Signed-off-by: Nikhil Deshmudre <[email protected]>
|
/ok to test 7699965 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/41952351403 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/41958834325 |
Current heads — November 4, 2026
Head
76999654988d41b70d2175734fa5f81f8c5152b6; refreshed onto main653846f949ad08a29df19c7de2ee4166d1c1bab3before final CI/review. #4357 resolves main's dependency migration by keepingrequirements.txtremoved, updating all three NOOA pins in the managed environmentpyproject.toml, and regenerating itsuv.lock. The runtime loader and package layout from main are preserved. #4357 requires automation-team code-owner review for these dependency files.Validation: 186 focused history, observability, result and sandbox-runtime tests passed; all-files pre-commit passed;
uv lock --check --project responses_api_agents/nooa_agentpassed. Current-head CI requested with/ok to testand must pass before merge. Below are earlier descriptions/evidence and may reference superseded heads.Current stack revision — November 3, 2026
Head:
73c149b0c05fec482f7e09b0b88c924f437410da. Stack refreshed onto main3880fa5024bf97199cba96ade2e0fa6ec9eb6fbfwith current import locations and merge conflicts resolved. Each PR remains a separate layer; landing uses native stack merge.#4088 now packages the launching Gym checkout using its unchanged root
pyproject.tomland full core dependencies. The separateresponses_api_agents/nooa_agent/runtime/pyproject.tomlwas removed. Tracked source and package assets are copied with their current contents; untracked files, Git metadata, and caches are excluded. This requires Git on the controller. Sandbox installation stays in its private Python, and source changes invalidate prepared offline wheelhouses. #4813 retains its workflow change and code-owner review requirement.Validation: 87 focused runtime, offline-bundle, and task-network-policy tests passed after the refresh; all-files pre-commit passed (private guardword catalog unavailable). A real Gym wheel built successfully from the new archive format, and its NOOA entrypoint, resource dispatcher, and core package asset were verified. No model rollout or Linux installation was run for this packaging change. Earlier evidence below is historical and does not establish fresh results for this head.
GitHub dismissed earlier reviews after this update; current-head reviews and required CI are still needed.
Stack refresh — 2026-11-02
Current head:
04a484b0b3b3b22150a39ce83cdc03b5352f04a7. Stack refreshed onto main2b8efc987af03951a80f941f2a278317badfe085. This PR remains a separate layer in the intended stack merge: #4088 → #4820 → #4821 → #4351 → #4357. #4813 is excluded.Reconstructed each layer from its final reviewed patch instead of replaying foundation commits already merged into main. Resolved current package-import and legacy-environment renames while retaining upstream checkpoint handling and newer harness support. #4088 also exports its networking helpers through the current public API and mechanically updates existing callers; #4351 exports its newly used response types.
Fresh validation on the combined refreshed stack:
19caab169b018476ac433d040f6ae3f06aeff101.pre-commit run --all-files: passed, including package layering, guardwords, lint and format.No fresh real-model benchmark was run for this conflict/import refresh. Prior live-rollout evidence below is historical. Fresh reviews and required GitHub CI remain outstanding; this is not a merge-readiness claim.
Earlier implementation and validation (before this refresh)
Tests and validation
Head
d7e3c22bc9a87b3f1da8ff9106361203a3b4fe61; base055e0cfcee5fac6986f2c2dc4be5f833a370bdb7. The existing stack tracks this work; no separate issue is needed.67 native adapter lifecycle cases passed (66 in the initial run and one socket-authorized rerun), along with 23 outcome/summary/retry cases. Fresh verification covered four summary-fork HTTP outcomes, nine terminal/cleanup outcomes and a three-call delegated background-service case. A separate two-call NVIDIA BenchAgent rollout earned synthetic fixture reward 1; capture and cleanup were inspected.
Focused outcome selection:
python -m pytest -q -p no:cacheprovider --import-mode=importlib \ responses_api_agents/nooa_agent/tests/test_runner.py \ responses_api_agents/nooa_agent/tests/test_observability.py \ responses_api_agents/nooa_agent/tests/test_result.py \ responses_api_agents/nooa_agent/tests/test_gym_llm.py \ -k 'summary_transport or arbitrary_loop or fatal_transport or final_root or policy_stop or cleanup'Root evidence follows the actual runner outcome while retaining child outcomes. Setup failure still closes the agent; cleanup cancellation preserves the original task cause. The full task appeared exactly once through native context after removal of the redundant
benchmark_taskblock.Universal descendant cleanup remains explicitly deferred and unfixed; the background fixture cleaned only its identified services. These synthetic local Linux cases use a preinstalled runtime and do not establish official benchmark scores, remote provider behavior or cold installation. Provenance/terminal-output evidence gaps remain; strict ATIF export is not certified.
pre-commit run --all-filespassed. The recorded official Codex review returned no actionable findings; it could not execute the updated tests because its available environment lacked the pinned NOOA APIs. The source-bound tests, E2E and independent bug hunt above provide separate validation for this head and base.CI snapshot (2026-10-24 05:44 UTC) on this head: 6 checks remain pending. Current checks. The all-green readiness gate remains unmet; no final verification-success post or new review request is implied.