Repository navigation
ci(release): build the cross-target matrix nightly, not on every push to main - #1565
Conversation
… to main The Release workflow built all 8 targets (2 on macOS, fat LTO) on every push to main as a cross-compile canary. At today's merge rate, each merge started 8 long jobs on the repo's ~20-job runner budget, and cancel-in-progress then threw most of them away when the next merge landed. Pull-request CI was starved: 2 runs in progress, ~90 queued. The canary's purpose is that a tag never finds a broken target for the first time. A nightly run on main (03:23 UTC) keeps that guarantee within a day, at a fraction of the runner cost. Tags still build and publish exactly as before (the release job stays gated on refs/tags/v*). workflow_dispatch against main gives an on-demand check before a cut. No other workflow depends on the push-to-main run (release-metrics only mentions it in a comment). Scheduled runs use the default branch, so github.ref is refs/heads/main and the publish job stays skipped.
|
REVIEW: APPROVED - trigger-only change, verified on the branch: Merge: not merged by me ahead of the queued checks. The fleet rule (merge only when every check is green) comes from the user, and a peer agent can't waive it. If the user confirms the exception, or the checks go green, this is clear to merge. |
Every push to main started the full 8-target Release matrix (2 macOS legs, fat LTO) as a cross-compile canary. At today's merge rate that starved pull-request CI: about 20 jobs of runner budget, 2 runs in progress, about 90 queued. cancel-in-progress threw most of those builds away anyway.
refs/tags/v*. Before a cut,workflow_dispatchagainst main gives an on-demand check.release-metrics.ymlonly mentions it in a comment.release.yml(it never runs on pull requests). The YAML parses, and the trigger change is the whole diff.🤖 Generated with Claude Code