Skip to content

ci: temporarily disable container_build and gpu_e2e_tests jobs - #2801

Merged
kajalj22 merged 1 commit into
mainfrom
disable-internal-gpu-ci-gate
Aug 26, 2026
Merged

kajalj22 merged 1 commit into
mainfrom
disable-internal-gpu-ci-gate

Conversation

@kajalj22

Copy link
Copy Markdown
Contributor

Summary

  • The nemo-ci-aws-gpu-x2 self-hosted runner pool (added in ci: add Gym GPU test workflow #2630) is queuing indefinitely, leaving PRs stuck on the required Nemo_CICD_Test check
  • Disable container_build and gpu_e2e_tests (if: false) and drop them from Nemo_CICD_Test's pass/fail logic so they no longer gate merges to main
  • provider_e2e_tests (fireworks-e2e) and unit tests are unaffected and continue to run

Test plan

  • Confirm Nemo_CICD_Test passes on this PR without waiting on container_build / gpu_e2e_tests
  • Re-enable both jobs once the nemo-ci-aws-gpu-x2 runner pool backlog is resolved

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]>
@copy-pr-bot

copy-pr-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@kajalj22
kajalj22 marked this pull request as ready for review August 26, 2026 19:21
@kajalj22
kajalj22 requested a review from a team as a code owner August 26, 2026 19:21
@kajalj22

Copy link
Copy Markdown
Contributor Author

/ok to test 8aec9a8

@kajalj22
kajalj22 merged commit 23bd8fa into main Aug 26, 2026
34 of 35 checks passed
@kajalj22
kajalj22 deleted the disable-internal-gpu-ci-gate branch August 26, 2026 19:31
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]>
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

1 inactive deployment
public — 8aec9a8f Deployed Aug 26, 2026 by copy-pr-bot[bot] via release / finalize / notify #1988
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.

1 participant