CI: run the fast lane once per commit #240

Merged
cmoriarty merged 1 commit from ci/test-once-per-commit into main 2026-10-22 04:17:31 -04:00
Owner

A branch with an open pull request ran the fast lane twice for every commit (push + pull_request), the same code on the same runner, about 23 minutes each.

  • test.yml: push only for main; pull_request unchanged. One run per commit on a PR, one on main after a merge.
  • A branch pushed without a PR gets no run. Braid's runs always open a PR, and its CI lane reads the branch filter: cilane.runs_on gives test.yml (pull_request) for a run branch and (push, pull_request) for main.
  • CLAUDE.md and deploy/README.md say what runs when.

This PR itself should show a single fast-lane (pull_request) check.

A branch with an open pull request ran the fast lane twice for every commit (`push` + `pull_request`), the same code on the same runner, about 23 minutes each. - `test.yml`: `push` only for `main`; `pull_request` unchanged. One run per commit on a PR, one on main after a merge. - A branch pushed without a PR gets no run. Braid's runs always open a PR, and its CI lane reads the branch filter: `cilane.runs_on` gives `test.yml (pull_request)` for a run branch and `(push, pull_request)` for main. - `CLAUDE.md` and `deploy/README.md` say what runs when. This PR itself should show a single `fast-lane (pull_request)` check.
ci(test): run once per commit, on pull requests and main pushes
Some checks failed
test / fast-lane (pull_request) Failing after 5m12s
56573acd3d
A branch with an open pull request ran the fast lane twice per commit
(push + pull_request), the same code on the same runner. Push runs
only for main now. Braid's CI lane reads the branch filter (cilane.
runs_on) and opens a pull request, so its runs still get a check.
cmoriarty deleted branch ci/test-once-per-commit 2026-10-22 04:17:31 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid!240
No description provided.