Repository navigation
ci: make basic a real label for the three default e2e smoke tests - #398
Merged
Merged
Conversation
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.
What
basicbecomes a registry label (tests/ci/labels.py). The three default e2e smoke tests (test_sd3_nft_pickscore_3xGPU,test_sd3_ocr_grpo_2xGPU,test_ltx23_pickscore_grpo_4xGPU) carrylabels=["basic", "e2e"]instead of no label.run_suite.py --list-onlyon this head): norun-ci-*label → no stage-c e2e;run-ci-basic→ exactly these three;run-ci-e2e→ all nine e2e tests; a domain label alone (e.g.run-ci-fsdp) → only that domain's tests. Nightly,workflow_dispatchand release CI use--match-all-labelsand are unchanged;record-e2e-standards.ymlrecords by file and is unchanged.labels.pydocstring describes selection only (which PRs may run CI is the gate's job, see ci: gate PR CI on a run-ci label and an approval for external authors #397); the contributor guide's label table gets abasicrow and its e2e example carries labels.Why
run-ci-basicexisted only as a GitHub label with no registry entry, so it meant "the unlabelled tests". The three smoke e2e tests were unlabelled and therefore ran on every authorized PR, including PRs that only asked for one domain (~50 min of H200 per run). With a realbasiclabel a PR runs e2e only when it asks for it.Validation
pytest tests/fast/ci: 9 passed (registry validation ofKNOWN_LABELSmembership).run_suite.py --list-onlyfor stage-c 3gpu + 5gpu: none → 0 tests;run-ci-basic→ sd3 nft, sd3 ocr, ltx23;run-ci-e2e→ 9;run-ci-fsdp→ attention parity only;--match-all-labels --nightly→ everything.pre-commit(ruff, isort, black, check-yaml) clean.run-ci-basic, so its own CI exercises the new selection.gh label edit run-ci-basic -R radixark/miles_diffusion -d "Run the unlabelled tests plus the basic e2e smoke set".Files
tests/ci/labels.py—basicentry; docstring no longer says a label authorizes CI.tests/e2e/short/test_sd3_nft_pickscore_3xGPU.py,test_sd3_ocr_grpo_2xGPU.py,test_ltx23_pickscore_grpo_4xGPU.py—labels=["basic", "e2e"].docs/developer/contributor-guide.md—basicrow in the label table; the e2e registration example carries labels.Checklist
pre-commit run --all-filespasses (on the touched files)tests/fast/ciregistry tests cover the new entry; selection verified with--list-onlypytest -xis green (tests/fast/ci)python3 train.py --helpstill parses — not applicable