Repository navigation
perf(ci): AUT-2843 split migration tests for whole-file scheduling - #5946
svcnvidia-nemo-ci merged 1 commit into
Conversation
Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test 524e5d1 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found.
I reviewed all 11 changed files and compared the moved tests and helpers with the base. The split preserves the existing cases and assertions, gives each module an isolated script instance, and remains compatible with whole-file sharding and the combined coverage gate.
This was a static review. I didn't execute tests or independently verify CI results in this read-only environment.
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.
|
/review-approve |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found within this follow-up’s scope.
The latest bot review reported no findings and reviewed the current head, 524e5d1bd67a7a6e5cd94a37ec54fbc554cbb663. The trusted follow-up baseline identifies that same immutable tree, so there are no unresolved findings or subsequent changes to inspect. I didn't repeat the original whole-PR review.
I didn't execute tests or independently verify CI results in this read-only environment.
Review generated by codex. This was a findings-only review. Request a full review with /review reset=true.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42863004902 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42865604123 |
main split tests/unit_tests/tooling/test_add_legacy_agent_environment_servers.py into per-topic files (#5946). Take main's version of that file and move this branch's test_deepagents_sandbox_template_composes_with_one_environment into test_agent_environment_default_configs.py, beside the OpenCode and OpenClaw session-template tests it sat between. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: yaoyu-33 <[email protected]>
main's #5946 split test_add_legacy_agent_environment_servers.py into several test_agent_environment_*.py files. Take main's version of that file and move this branch's two OpenHands migration tests into test_agent_environment_default_configs.py, beside the Claude Code test they followed before the split. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: yaoyu-33 <[email protected]>
main moved the switch tests out of tests/unit_tests/tooling/test_add_legacy_agent_environment_servers.py (#5946); the relay-recipe routing test now lives in test_agent_environment_harness_overlays.py. Take main's version of the old file and carry this branch's change to that test (the OpenCode relay recipes renamed *_legacy_agent, and the agent name derived from the harness) into the new file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: weijia chen <[email protected]>
…sessions Brings in #5825's merge of main. main moved the relay-recipe routing test into tests/unit_tests/tooling/test_agent_environment_harness_overlays.py (#5946); take the old file as main has it and rename the Pi relay recipes to *_legacy_agent in the moved test, as this branch did before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: weijia chen <[email protected]>
Background
Requester-directed CI tuning; no separate issue needed. Across 17 successful merge-queue runs sampled on November 10, mean workflow-to-gate time was 19m44s including runner gaps, versus an estimated 16m53s execution-only critical path. This excludes queue residence before workflow creation. Core shard 0 was slowest in all 17 runs.
Sample run: the migration file's 136 cases summed to 9m41s. Whole-file ownership and
--dist=loadfilekeep that work on one worker; more runners alone won't split it.What changed
Split migration tests into eight focused modules, share their helpers, and regroup their recorded duration weights. Add regression coverage for runner distribution and isolated script instances.
Details
Preserve all 58 original test functions, parametrization and assertions. Runner counts, launchers, locks and coverage gates are unchanged. No post-change merge-queue speedup is claimed.
Tested
Base:
4176fded1f1f05c9a3917bb915c703d2f2ce5039; head:524e5d1bd67a7a6e5cd94a37ec54fbc554cbb663.unit:core-unit-tests: 20,176 passed, 106 native skips, 343 subtests passed; all 136 migration cases ran.unit:lint: applicable hooks passed; private Guardwords excluded by policy.Runtime-only offline cache and shell-dispatch gaps were repaired outside this diff. Required GitHub CI, including combined coverage, remains pending. Server/sandbox/GPU rows weren't selected locally: no production consumer changed. Model rollout: N/A, test scheduling only.