FFFF ci(release): build the cross-target matrix nightly, not on every push to main by xerj-org · Pull Request #1565 · xerj-org/xerj · GitHub
[go: up one dir, main page]

Skip to content

ci(release): build the cross-target matrix nightly, not on every push to main - #1565

Merged
xerj-org merged 1 commit into
mainfrom
ci/release-matrix-nightly
Oct 16, 2026
Merged

xerj-org merged 1 commit into
mainfrom
ci/release-matrix-nightly

Conversation

@xerj-org
Copy link
Copy Markdown
Owner

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.

  • Change: the canary now runs nightly on main (03:23 UTC). Tag builds and publishing are unchanged, still gated on refs/tags/v*. Before a cut, workflow_dispatch against main gives an on-demand check.
  • Dependents: none. release-metrics.yml only mentions it in a comment.
  • Testing: PR CI cannot exercise release.yml (it never runs on pull requests). The YAML parses, and the trigger change is the whole diff.

🤖 Generated with Claude Code

… 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.
@cla-bot cla-bot Bot added the cla-signed label Oct 16, 2026
@xerj-org
Copy link
Copy Markdown
Owner Author

REVIEW: APPROVED - trigger-only change, verified on the branch: on: parses to push.tags + schedule (cron 23 3 * * ) + workflow_dispatch; actionlint clean; workflow-timeout-guard.py ok (36 jobs / 10 files <= 90 min). A scheduled run has GITHUB_REF=refs/heads/main / REF_NAME=main exactly like the old push-to-main canary, so the version-stamp case (only on v) and the .deb version fallback behave the same; the release job stays gated on refs/tags/v*. No workflow_run or script consumes Release runs on main (grep: only comments in release-metrics.yml, ci.yml, timeout guard, build-deb.sh, verify-release.sh). Tradeoff, stated honestly in the diff: a broken cross-target is now found within a day rather than per-merge.

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.

@xerj-org
xerj-org merged commit 928e004 into main Oct 16, 2026
8 checks passed
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

0