This repository was archived by the owner on Oct 21, 2026. It is now read-only.
Repository navigation
ci: fork releases only build main and keep their run's date - #44
Merged
Merged
Conversation
donnes
force-pushed
the
t3code/fork-release-gate-fixes
branch
from
September 29, 2026 18:14
75e0e93 to
7f5f962
Compare
Manual dispatch of Fork Release now has to come from main, since a published branch build leaves main behind it and stalls later scheduled releases. The version date now comes from the run's creation time instead of the undocumented github.run_started_at, which evaluated empty and fell back to the day the version job happened to run. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
donnes
force-pushed
the
t3code/fork-release-gate-fixes
branch
from
September 29, 2026 18:15
7f5f962 to
606f31f
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Follow-up to #43, fixing two review findings in Fork Release.
Manual releases from other branches. A manual dispatch skipped the release gate for any branch, and the jobs after it built that branch's commit. After a feature branch was published, the scheduled check compared main against it, got
behindordiverged, and kept skipping, even once six hours had passed. A dispatch now goes through upstream'sassertReleaseSourcewith the nightly channel. It has to be dispatched from main, and its commit has to be on main.Version date. The date in the version came from
github.run_started_at. That field isn't in the GitHub context, so it evaluated to an empty string anddate -u -d ""returned the current day. A run queued past midnight, or a job retried on a later day, got a different tag. The gate job now reads the run'screated_atfrom the Actions API, which stays the same across attempts, and hands the date to the version job. That job needsactions: read.The gate is now in a fork-only
.github/scripts/check-fork-release.cjs, named after upstream'scheck-nightly-release.cjs, and CI runs its tests: rejecting non-main dispatches, the scheduled six-hour gap, and keeping the date for a run created just before midnight.Done by Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code