Commit 4f3ef5e
fix(ci): a standing release PR ran every development push twice (#3370)
Every push to `development` fired Code Quality TWICE on the same commit —
once for the `push` event, once for the `pull_request` event of the
permanently-open "Release: merge development into beta", whose `head_ref`
IS `development`.
Measured here 2026-09-03: runs 33747123932 (push) and 33747129312
(pull_request), same sha b8eb72e, created four seconds apart, both running
the full suite to completion.
The concurrency block above them is not the bug and must not be "fixed":
it suffixes the group by event name deliberately so the push run is NOT
cancelled by the PR run, because the push run is the only carrier of
Coverage Baseline Check, SBOM and Features Extract. That is correct. The
consequence is simply that both lanes run.
So the duplicate has to be dropped at the job, and the PR run is the one to
drop: its head sha is development's, which the push run already decided,
and it runs strictly fewer jobs.
Not done by removing `beta` from `pull_request.branches`, though that would
also stop it. The `release/v*` and `sync/main-to-beta` PRs target `beta` as
well and genuinely need their run; only the `head_ref: development` PR is
redundant. A `development -> main` promotion PR is skipped by the same
clause, for the same reason and just as correctly.
Scope: 20 of the fleet's 21 apps carry `beta` in `pull_request.branches`
and pay this on every development push. dossiq is the exception and does
not. This lands the fix here first; the rest follow once a development push
here shows one Code Quality run instead of two.
Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent c130aa2 commit 4f3ef5e
1 file changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
176 | 200 | | |
177 | 201 | | |
178 | 202 | | |
| |||
0 commit comments