Repository navigation
Release: tag right away; builds run alongside main's CI, publish waits for it - #42
Merged
MHohlios merged 2 commits intoNov 4, 2026
Conversation
added 2 commits
November 4, 2026 09:51
The gate polls main's CI run for the tagged commit every 30 seconds instead of failing when it has not finished, and gives up after 90 minutes. The builds no longer need the gate; publish does. Docs say to tag as soon as the pull request has merged, and make the dry run optional.
…still builds at once
MHohlios
deleted the
wiffletree/release-tag-right-away-builds-run-alongside-main
branch
November 4, 2026 15:37
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.
Summary
Until now, the release gate failed straight away unless main's CI had already passed for the tagged commit. So a release meant waiting about 20 minutes for CI, then starting a second 20+ minute build. Now you tag as soon as the PR merges: the builds start at once, alongside CI, and only publishing waits for CI to pass. Linear: VYT-267.
Changes
scripts/require-green-ci.shwaits instead of failing.CI_POLL_SECONDSandCI_WAIT_SECONDSoverride the interval and the limit.release.yml:version, so they start at once.publishneedsgateand every build, and still runs only on a tag push, so a dry run never publishes.gate, 90 for each build.docs/releasing.mdsays to tag right after merging; the dry run is optional, for after a change to the release workflow or packaging scripts. Theci.ymlheader anddocs/ci.mdmatch the new flow.Checks
actionlintandshellcheckpass.ghandsleepfor these cases:Follow-ups
ghcall that keeps failing (for example a bad token) reads as "no run yet", so the gate waits the full 90 minutes before stopping; it should fail fast with gh's error (scripts/require-green-ci.sh:16).Reviewed with Wiffletree: 1 full review and 0 re-checks, 2 rounds (Tests, Claude, Style)