Skip to content

Run level 2 when a pull request is ready, by path, and in full on main - #6

Merged
tweinmann merged 1 commit into
mainfrom
ci-faster
Oct 27, 2026
Merged

tweinmann merged 1 commit into
mainfrom
ci-faster

Conversation

@tweinmann

Copy link
Copy Markdown
Owner

The first Phase 9 PR run took about 12 minutes on every push, most of it smoke-agent waiting for Flux's poll and for Helm to time out a broken upgrade. Now:

  • Pull requests run level 1 on every push, and level 2 when they are opened or reopened as ready, leave draft, or carry the label level-2; level-2-full runs everything in full. A new push cancels the run it replaces.
  • .github/scripts/select-smokes.sh picks the smoke tests the changed paths need; docs and planning need none, unlisted paths need all.
  • smoke-agent asks Flux to fetch each new artifact at once, and skips the fix-after-failure step with SMOKE_FULL=0 (pull requests).
  • main runs everything in full after each merge and opens or comments on a ci-main-red issue when it fails; release.yml publishes only a commit whose CI run on main succeeded.
  • just test keeps Go's caches in .cache/go via actions/cache; gofmt checks tracked files only.

Spec delta for dev-environment, design decision 8 with the measured job times. Locally smoke-agent takes 48 s with SMOKE_FULL=0 and 380 s in full (was about 10 minutes).

The first Phase 9 PR run took about 12 minutes on every push, most of it
smoke-agent waiting for Flux's poll and for Helm to time out a broken
upgrade. Now:

- Pull requests run level 1 on every push, and level 2 when they are
  opened or reopened as ready, leave draft, or carry the label level-2;
  level-2-full runs everything in full. A new push cancels the run it
  replaces.
- .github/scripts/select-smokes.sh picks the smoke tests the changed
  paths need; docs and planning need none, unlisted paths need all.
- smoke-agent asks Flux to fetch each new artifact at once, and skips
  the fix-after-failure step with SMOKE_FULL=0 (pull requests).
- main runs everything in full after each merge and opens or comments on
  a ci-main-red issue when it fails; release.yml publishes only a commit
  whose CI run on main succeeded.
- just test keeps Go's caches in .cache/go via actions/cache; gofmt
  checks tracked files only.

Spec delta for dev-environment, design decision 8 with the measured job
times. Locally smoke-agent takes 48 s with SMOKE_FULL=0 and 380 s in full
(was about 10 minutes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tweinmann
tweinmann merged commit fd779db into main Oct 27, 2026
2 checks passed
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