Repository navigation
test: align CI-shape tests with temporarily disabled container/gpu jobs - #2803
Merged
Merged
Conversation
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]>
Contributor
Author
|
/ok to test 0fdbe56 |
kajalj22
approved these changes
Aug 26, 2026
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.
Problem
#2801 disabled the
container_buildandgpu_e2e_testsjobs (if: false) and removed their gating from the CI summary, but did not updatetests/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/maincheckout: 2 failed, 39 passed.Change
Update the assertions to pin the temporarily-disabled state: two docs-only conditions, exactly two
if: falsejobs 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