ci(release): make packaging channels propagate real status into the Release run - #220
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🧙 Sourcery is reviewing your pull request! Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reached
Next review available in: 12 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…elease run The six publish-*/build-flatpak jobs used fire-and-forget 'gh workflow run' dispatches, so release.yml stayed green even when AUR/Homebrew/APT/Winget/Snap/Flatpak publishing later failed. The channel workflows now also accept workflow_call and release.yml invokes them as reusable-workflow jobs, so each channel's real outcome is a job status inside the Release run. workflow_dispatch triggers are kept for manual single-channel re-runs. Release guide updated to document that a green Release run now means every channel published. Closes #202
What
release.yml's sixpublish-*/build-flatpakjobs were fire-and-forget:gh workflow run <channel>.ymlonly confirms the dispatch was accepted, so the Release run — the thing a maintainer watches after tagging — showed all-green even if AUR checksum computation, the Homebrew tap push, Winget manifest generation, etc. later failed in a detached run.How
aur.yml,brew.yml,apt.yml,winget.yml,snap.yml,flatpak.ymleach gain aworkflow_calltrigger mirroring theirworkflow_dispatchinputs (all six already read inputs via theinputs.context, which serves both trigger types; snap'schoiceinput becomes a plainstringfor the call trigger sinceworkflow_callhas no choice type — the dispatch UI keeps its dropdown).release.ymlreplaces the six dispatch jobs with reusable-workflow calls (uses: ./.github/workflows/<x>.yml+secrets: inherit), with caller-job permissions matching each channel's needs (pages/id-tokenfor APT,contents: writefor the rest). A failure in any channel now turns the Release run red on that job.workflow_dispatchstays on every channel workflow for manual single-channel re-runs.docs/distribution/release-guide.mdupdated: a green Release run now means every channel published; no more checking six workflow histories under Actions.Behavior notes
master(reusable localuses:runs at the caller's ref). Tags are cut from master by release-dispatch moments earlier, so these are the same commit in practice — and pinning to the tag is the more reproducible choice.Verification
actionlintclean on all seven workflows; YAML parses.Closes #202
Summary by Sourcery
Integrate package manager channel workflows directly into the main Release workflow so their success or failure is reflected in the Release run, and update documentation to describe the new behavior.
Enhancements:
release.ymlwith reusable workflow calls for AUR, Homebrew, APT, Winget, Snap, and Flatpak, using appropriate permissions and passing the release tag.workflow_calltriggers with matching inputs to each channel workflow (aur.yml,brew.yml,apt.yml,winget.yml,snap.yml,flatpak.yml) so they can be invoked from the Release workflow while retaining manualworkflow_dispatchruns.Documentation: