Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: restore synchronize trigger on check_labels#352

Merged
clangenb merged 1 commit into
mainfrom
ci/restore-check-labels-synchronize
May 1, 2026
Merged

ci: restore synchronize trigger on check_labels#352
clangenb merged 1 commit into
mainfrom
ci/restore-check-labels-synchronize

Conversation

@clangenb
Copy link
Copy Markdown
Collaborator

@clangenb clangenb commented May 1, 2026

#349 dropped synchronize from check_labels.yml on the reasoning that "labels don't change on new commits" — semantically true, but breaks branch-protection mechanics. Required checks are evaluated per commit SHA: a successful run on the original HEAD doesn't carry forward when new commits land (whether by user push or by merging main into the PR branch). Without synchronize, the workflow never re-publishes a status on the new HEAD, leaving required checks stuck on "Expected — Waiting".

Observed on #350 after a merge-from-main: SwarmCLI CI / Integration Tests / License checks all re-ran on the merge SHA, but Check labels stayed on the prior SHA. Re-add synchronize.

Cost vs original justification: each synchronize fires 3 matrix jobs (~3 billed minutes). Worth it — the alternative is manually rerunning the workflow on every PR that gets synced with main.

#349 dropped `synchronize` from check_labels.yml on the reasoning that
"labels don't change on new commits" — semantically true, but breaks
branch-protection mechanics. Required checks are evaluated per commit
SHA: a successful run on the original HEAD doesn't carry forward when
new commits land (whether by user push or by merging main into the PR
branch). Without synchronize, the workflow never re-publishes a status
on the new HEAD, leaving required checks stuck on "Expected — Waiting".

Observed on #350 after a merge-from-main: SwarmCLI
CI / Integration Tests / License checks all re-ran on the merge SHA,
but Check labels stayed on the prior SHA. Re-add synchronize.

Cost vs original justification: each synchronize fires 3 matrix jobs
(~3 billed minutes). Worth it — the alternative is manually rerunning
the workflow on every PR that gets synced with main.
@clangenb clangenb merged commit 16d9be5 into main May 1, 2026
17 of 22 checks passed
@eldara-cruncher eldara-cruncher deleted the ci/restore-check-labels-synchronize branch June 5, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant