Skip to content

test: align CI-shape tests with temporarily disabled container/gpu jobs - #2803

Merged
kajalj22 merged 1 commit into
mainfrom
fix/ci-environment-tests-disabled-jobs
Aug 26, 2026
Merged

kajalj22 merged 1 commit into
mainfrom
fix/ci-environment-tests-disabled-jobs

Conversation

@adil-a

@adil-a adil-a commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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

PR #2801 set if:false on container_build and gpu_e2e_tests and removed
their gating from the summary, but the workflow-shape tests still
asserted the old wiring, so tests/unit_tests/test_ci_environment.py
fails on main and on every PR based on it. Update the assertions to pin
the disabled state instead: two docs-only conditions instead of four,
two if:false jobs with their explanatory comments, and the summary
echoing container/gpu results as non-gating. These assertions fail
again the moment the jobs are re-enabled, which is the reminder to
restore the original ones.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Adil Asif <[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.

@adil-a

adil-a commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 0fdbe56

@kajalj22
kajalj22 enabled auto-merge (squash) August 26, 2026 20:02
@kajalj22
kajalj22 merged commit e8b26bb into main Aug 26, 2026
38 checks passed
@kajalj22
kajalj22 deleted the fix/ci-environment-tests-disabled-jobs branch August 26, 2026 20:04

This branch was previously deployed

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