Repository navigation
fix(ci): re-arm release-merge via workflow_run instead of check_suite - #439
Merged
Merged
Conversation
PR #437 sat fully green and approved for 20+ minutes with nothing re-triggering the merge check: the approval fired the initial evaluation while coverage was still running, and check_suite never re-fired once it finished. GitHub does not reliably deliver check_suite: completed for an integration branch's own check suite (CLDMV/.github#318). Add a schedule cron trigger (every 10 minutes) alongside the existing check_suite fast path. On a schedule event neither pr_number nor head_branch are set, so the reusable's existing fallback resolution (scan open PRs for the release PR) already handles it with no changes needed upstream — cheap when idle. check_suite stays as a best-effort fast path; the cron is what actually guarantees convergence.
… for #318 The previous commit added a schedule cron as a "guaranteed" fallback, but that's the wrong tool: a wasteful always-on poll every 10 minutes forever, papering over the real mechanism instead of fixing it. The actual cause: GitHub does not deliver check_suite: completed for a check suite created by GitHub Actions itself — which is every check this repo's own ci.yml produces, coverage badge and PR-comment jobs included — only for one created by a third-party App. That's why zero check_suite-triggered runs of release-merge.yml ever fired for PR #437's own head branch. workflow_run is GitHub's documented replacement for "re-run something when this other workflow finishes" and doesn't have that restriction. Replace check_suite: completed + schedule with workflow_run, naming ci.yml by its literal workflow name (required — workflow_run matches on name, not filename, and can't be templated via an expression in on:). No change needed in the reusable's own resolution logic (CLDMV/.github's workflow-release-merge.yml now threads workflow_run.head_branch through as the primary source, falling back to check_suite.head_branch) — this repo just needs the trigger swap once that reaches @v4.
Shinrai
approved these changes
Sep 21, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Sep 21, 2026
…uled… ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - #439 - fix(ci): replace the schedule poll with workflow_run — the actual fix for #318 (3e9a344) - fix(ci): guarantee release-merge re-evaluation with a scheduled fallback (47cda9c) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details> --- <!-- coverage-start -->  | Metric | Coverage | |--------|----------| | Statements | 100.0% | | Branches | 100.0% | | Functions | 100.0% | | Lines | 100.0% | *Avg: **100.0%** · `4fd6ed7` · Node lts/** <!-- coverage-end --> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
Shinrai
added a commit
that referenced
this pull request
Sep 22, 2026
v3.18.2 shipped as a CI / release-automation-only release (#439 — switch the release-merge re-evaluation trigger from check_suite to workflow_run; no runtime change) without a curated changelog. Backfill docs/changelog/v3/v3.18.2.md and add v3.18.2 to the README Recent Releases (v3.16.3 drops so the list stays at four), so the ladder is strictly consecutive back from v3.19.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors