fix(ci): ignore pull_request statuses in the tag sibling wait #96

Merged
nalum merged 1 commit from fix/tag-sibling-wait into main 2026-08-16 13:05:58 +00:00
Owner

The tag job on main failed after the #90 merge with no red push in sight. The sibling wait reads every status on the merged commit. Fast-forward merges make the PR head and the main head the same commit, so that commit also carries the PR runs's statuses. Forgejo cancels the PR's in-flight run when the merge closes it, and those cancelled jobs land as failure statuses (check / report (pull_request), check / web (pull_request), android / build (pull_request), android / report (pull_request)). The wait counted them and refused to tag, while every (push) context was green.

The wait now filters to (push) contexts. Those are the statuses that speak for the push under release. The pull_request contexts speak for the closed PR. Verified the new jq filter against the live status API on 2c966a94: it returns only the six push contexts, none failed.

The tag job on main failed after the #90 merge with no red push in sight. The sibling wait reads every status on the merged commit. Fast-forward merges make the PR head and the main head the same commit, so that commit also carries the PR runs's statuses. Forgejo cancels the PR's in-flight run when the merge closes it, and those cancelled jobs land as `failure` statuses (`check / report (pull_request)`, `check / web (pull_request)`, `android / build (pull_request)`, `android / report (pull_request)`). The wait counted them and refused to tag, while every `(push)` context was green. The wait now filters to `(push)` contexts. Those are the statuses that speak for the push under release. The `pull_request` contexts speak for the closed PR. Verified the new jq filter against the live status API on `2c966a94`: it returns only the six push contexts, none failed.
fix(ci): ignore pull_request statuses in the tag sibling wait
All checks were successful
check / commits (pull_request) Successful in 5s
check / web (pull_request) Successful in 4m6s
check / go (pull_request) Successful in 4m54s
check / report (pull_request) Successful in 4s
check / commits (push) Successful in 8s
check / web (push) Successful in 2m7s
check / go (push) Successful in 3m9s
check / report (push) Has been skipped
tag / tag (push) Successful in 3m46s
release / binaries (push) Successful in 1m54s
release / docs (push) Successful in 2m54s
release / image (push) Successful in 4m45s
release / android (push) Successful in 6m41s
release / manifests (push) Successful in 1m24s
release / module (push) Successful in 1m29s
release / release (push) Successful in 13s
db1e0a7ba7
Fast-forward merges make the PR head and the main head the same
commit, so the merged commit carries the PR runs' statuses too.
Forgejo cancels the PR's in-flight run when the merge closes it, and
those cancelled jobs land as failure statuses — the sibling wait then
reads them as a red push and refuses to tag. Only the (push) contexts
speak for the push being released, so filter the wait to those.

Test report

Suite Tests Result Skipped
Unit 1332 ✅ pass 1
Integration 83 ✅ pass —

Coverage: 27.7%

Updated by the check workflow · commit db1e0a7ba7

<!-- ci-test-report --> ## Test report | Suite | Tests | Result | Skipped | | --- | --: | --- | --: | | Unit | 1332 | ✅ pass | 1 | | Integration | 83 | ✅ pass | — | **Coverage:** 27.7% <sub>Updated by the check workflow · commit db1e0a7ba7f4cdf7a76b0fa0e3c2e87465b8a06a</sub>
nalum merged commit db1e0a7ba7 into main 2026-08-16 13:05:58 +00:00
nalum deleted branch fix/tag-sibling-wait 2026-08-16 13:05:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
eagraiclainne/app!96
No description provided.