Skip to content

All Nightlies Must Pass#146

Open
cds-amal wants to merge 1 commit intostack/pr4-ui-testingfrom
stack/pr5-ci
Open

All Nightlies Must Pass#146
cds-amal wants to merge 1 commit intostack/pr4-ui-testingfrom
stack/pr5-ci

Conversation

@cds-amal
Copy link
Copy Markdown
Collaborator

We now have per-nightly golden files (PR #144) and per-nightly UI test lists (PR #145), but nothing that actually runs them across the full supported range. If a cfg-gated match arm compiles on the pinned nightly but not on an older one (say, because the breakpoint date is off by a day), we won't find out until someone manually installs that toolchain and builds. That's the gap this PR fills.

A single GitHub Actions workflow (test-all-nightlies.yml) that:

  1. Discovers the nightly matrix dynamically from the golden-file directories under tests/integration/expected/. No hardcoded list in the workflow file; adding a new breakpoint nightly (with its golden files) is sufficient to include it in CI.

  2. For each nightly in the matrix: installs the toolchain, builds the project, runs integration tests (which auto-select the matching golden files), checks out the rust repo at the corresponding commit, and runs UI tests with the per-nightly override lists.

  3. Runs on three triggers: weekly (Sunday 04:00 UTC) to keep the matrix green when the branch is quiet, on push to master, and on manual dispatch for ad-hoc verification after absorbing new breakpoints.

The matrix uses fail-fast: false so that one broken nightly doesn't mask failures in others. Each job is named by its nightly date for easy triage.

Test plan

  • Workflow file passes actionlint (or manual review of the YAML)
  • Manual dispatch runs the full matrix successfully
  • Adding a new golden-file directory automatically adds a row to the matrix (no workflow edits needed)

@cds-amal cds-amal changed the title No nightlies left behind All Nightlies Must Pass Mar 11, 2026
@cds-amal cds-amal force-pushed the stack/pr4-ui-testing branch from 4ee5139 to d13182a Compare March 11, 2026 19:39
Add test-all-nightlies.yml that builds a matrix from the golden file
directories under tests/integration/expected/. Each nightly in the
matrix runs integration tests and (optionally) UI tests, ensuring
that compat code works correctly across the full supported range.
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