Repository navigation
ci: temporarily disable container_build and gpu_e2e_tests jobs - #2801
Merged
Merged
Conversation
The nemo-ci-aws-gpu-x2 self-hosted runner pool (introduced in #2630) is queuing indefinitely, blocking PRs on the required Nemo_CICD_Test check. Disable both jobs (if: false) and drop them from Nemo_CICD_Test's pass/fail logic so they no longer gate merges until the runner pool backlog is resolved. Signed-off-by: Kajal Jain <[email protected]>
kajalj22
marked this pull request as ready for review
August 26, 2026 19:21
Contributor
Author
|
/ok to test 8aec9a8 |
kajalj22
pushed a commit
that referenced
this pull request
Aug 26, 2026
…bs (#2803) ## Problem #2801 disabled the `container_build` and `gpu_e2e_tests` jobs (`if: false`) and removed their gating from the CI summary, but did not update `tests/unit_tests/test_ci_environment.py`, which asserts the workflow's shape. Two tests now fail on main itself and on every PR based on it: - `test_cicd_main_wires_preflight_cpu_and_gpu_workflows` — expects 4 docs-only conditions, the workflow now has 2. - `test_cicd_summary_accepts_only_expected_docs_only_skips` — expects the removed container-build gating strings. Verified on a pristine `origin/main` checkout: 2 failed, 39 passed. ## Change Update the assertions to pin the temporarily-disabled state: two docs-only conditions, exactly two `if: false` jobs with their explanatory comments, and a summary that echoes container/GPU results as non-gating while gating only on unit tests. When the jobs are re-enabled, these assertions fail again — which is the built-in reminder to restore the originals. ## Testing `pytest tests/unit_tests/test_ci_environment.py`: 41 passed (was 2 failed, 39 passed). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Adil Asif <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
6 tasks
kajalj22
added a commit
that referenced
this pull request
Aug 26, 2026
- P1 fix: a job's own `if:` replaces (not ANDs with) the implicit success()-of-needs check. Restore the original intended flow - container_build only runs after pre-flight/classify_changes/ unit_tests succeed (or unit_tests is skipped, for docs-only nightly runs), gpu_e2e_tests additionally requires container_build to have actually succeeded, and provider_e2e_tests requires classify_changes/ unit_tests. Previously these jobs would still fire on a nightly run even if an earlier stage failed, wasting nemo-ci-aws-gpu-x2 capacity before the failure was ever detected. - Enforce that Slack alerts only fire for runs against main or a release branch (rMAJOR.MINOR.PATCH) via a dedicated ref-check step, so a workflow_dispatch run against an arbitrary feature branch can't spam the shared Gym alerts channel. Also drops the hardcoded "on main branch" wording in favor of the actual ref. - Rename cicd-main.yml's notify-nightly-failure/"Notify nightly failure" to notify-failure/"Notify test failure", matching full-test-suite.yml's existing job (it fires on workflow_dispatch too, not just the nightly schedule, so "nightly" was inaccurate). - Update the two now-stale assertions in test_ci_environment.py that still expected the old if:false/docs-only-gated state from #2801, and add real behavioral coverage: the "Check test results" gating script and the ref-check script are extracted from the parsed workflow YAML and executed via subprocess across the event x job-result matrix (17 cases) and the ref matrix (7 cases x 2 workflows), rather than only asserting on string content. All 63 tests in tests/unit_tests/test_ci_environment.py pass. Signed-off-by: Kajal Jain <[email protected]>
kajalj22
added a commit
that referenced
this pull request
Aug 27, 2026
…2810) ## Why `container_build`, `gpu_e2e_tests`, `provider_e2e_tests`, and the full test suite were queuing indefinitely on every PR push against the shared `nemo-ci-aws-gpu-x2` runner pool (follow-up to #2801). ## Before → After | | Before | After | |---|---|---| | Heavy CI trigger | Every PR push + every merge to `main` | Every 4 hours (`0 */4 * * *`) or manual `workflow_dispatch` | | `Nemo_CICD_Test` gate | Docs-only shortcut could bypass checking the heavy jobs entirely | Single gate, branches on `event_name`, always checks the right jobs with proper `needs.*.result` gating | | Slack alerts | None for these jobs | Fire on failure, but only for `main`/release-branch runs; show all upstream results, not just the 3 nightly ones | | Alert gating | N/A | Keyed directly on `event_name` — can't silently disappear if an earlier job in the chain gets skipped | | Ref-check / notify logic | N/A | Deduped into a shared `.github/actions/is-main-or-release-ref` action; job renamed `notify-failure` to match `full-test-suite.yml`'s convention | | Test coverage | N/A | `tests/unit_tests/test_ci_environment.py` extended to cover the new gating/alerting behavior (67 passing) | Split out: the "commits since last run" alert feature is a separate stacked PR, #2812. ## Test plan - [ ] PR pushes skip `container_build`/`gpu_e2e_tests`/`provider_e2e_tests`; `Nemo_CICD_Test` still passes - [ ] Scheduled run triggers all nightly jobs + `full-test-suite.yml` on `main`, gated correctly - [ ] A nightly `unit_tests` or `pre-flight` failure still sends a Slack alert with the real cause - [ ] Merging to `main` no longer triggers `full-test-suite.yml` directly - [ ] `workflow_dispatch` runs on demand; alert suppressed on non-main/non-release refs - [ ] `pytest tests/unit_tests/test_ci_environment.py -q` passes --------- Signed-off-by: Kajal Jain <[email protected]>
ananthsub
pushed a commit
that referenced
this pull request
Aug 27, 2026
…2810) ## Why `container_build`, `gpu_e2e_tests`, `provider_e2e_tests`, and the full test suite were queuing indefinitely on every PR push against the shared `nemo-ci-aws-gpu-x2` runner pool (follow-up to #2801). ## Before → After | | Before | After | |---|---|---| | Heavy CI trigger | Every PR push + every merge to `main` | Every 4 hours (`0 */4 * * *`) or manual `workflow_dispatch` | | `Nemo_CICD_Test` gate | Docs-only shortcut could bypass checking the heavy jobs entirely | Single gate, branches on `event_name`, always checks the right jobs with proper `needs.*.result` gating | | Slack alerts | None for these jobs | Fire on failure, but only for `main`/release-branch runs; show all upstream results, not just the 3 nightly ones | | Alert gating | N/A | Keyed directly on `event_name` — can't silently disappear if an earlier job in the chain gets skipped | | Ref-check / notify logic | N/A | Deduped into a shared `.github/actions/is-main-or-release-ref` action; job renamed `notify-failure` to match `full-test-suite.yml`'s convention | | Test coverage | N/A | `tests/unit_tests/test_ci_environment.py` extended to cover the new gating/alerting behavior (67 passing) | Split out: the "commits since last run" alert feature is a separate stacked PR, #2812. ## Test plan - [ ] PR pushes skip `container_build`/`gpu_e2e_tests`/`provider_e2e_tests`; `Nemo_CICD_Test` still passes - [ ] Scheduled run triggers all nightly jobs + `full-test-suite.yml` on `main`, gated correctly - [ ] A nightly `unit_tests` or `pre-flight` failure still sends a Slack alert with the real cause - [ ] Merging to `main` no longer triggers `full-test-suite.yml` directly - [ ] `workflow_dispatch` runs on demand; alert suppressed on non-main/non-release refs - [ ] `pytest tests/unit_tests/test_ci_environment.py -q` passes --------- Signed-off-by: Kajal Jain <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nemo-ci-aws-gpu-x2self-hosted runner pool (added in ci: add Gym GPU test workflow #2630) is queuing indefinitely, leaving PRs stuck on the requiredNemo_CICD_Testcheckcontainer_buildandgpu_e2e_tests(if: false) and drop them fromNemo_CICD_Test's pass/fail logic so they no longer gate merges to mainprovider_e2e_tests(fireworks-e2e) and unit tests are unaffected and continue to runTest plan
Nemo_CICD_Testpasses on this PR without waiting oncontainer_build/gpu_e2e_testsnemo-ci-aws-gpu-x2runner pool backlog is resolved