Skip to content

ci: make basic a real label for the three default e2e smoke tests - #398

Merged
Rockdu merged 1 commit into
mainfrom
rockdu/ci-basic-label
Nov 18, 2026
Merged

Rockdu merged 1 commit into
mainfrom
rockdu/ci-basic-label

Conversation

@Rockdu

@Rockdu Rockdu commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

What

  • basic becomes 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) carry labels=["basic", "e2e"] instead of no label.
  • Selection per label (from run_suite.py --list-only on this head): no run-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_dispatch and release CI use --match-all-labels and are unchanged; record-e2e-standards.yml records by file and is unchanged.
  • The labels.py docstring 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 a basic row and its e2e example carries labels.

Why

run-ci-basic existed 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 real basic label a PR runs e2e only when it asks for it.

Validation

  • pytest tests/fast/ci: 9 passed (registry validation of KNOWN_LABELS membership).
  • run_suite.py --list-only for 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.
  • This PR carries run-ci-basic, so its own CI exercises the new selection.
  • After merge, a repo setting to update: 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 — basic entry; 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 — basic row in the label table; the e2e registration example carries labels.

Checklist

  • pre-commit run --all-files passes (on the touched files)
  • Added/updated tests for new behaviour — existing tests/fast/ci registry tests cover the new entry; selection verified with --list-only
  • pytest -x is green (tests/fast/ci)
  • If launch flags changed, python3 train.py --help still parses — not applicable
  • If a public flag was added, it appears in the CLI reference docs — not applicable (CI label documented in the contributor guide)
  • If an example was added, it has a real walkthrough — not applicable

@Rockdu Rockdu added the run-ci-basic Authorize and run only basic unlabeled CI tests label Nov 18, 2026
@Rockdu
Rockdu marked this pull request as ready for review November 18, 2026 06:46
@Rockdu
Rockdu merged commit 106afa8 into main Nov 18, 2026
25 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci-basic Authorize and run only basic unlabeled CI tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant