Repository navigation
fix(release): train throttle reads candidate publication time, not commit time - #11383
Merged
Merged
Conversation
…mmit time Candidate tags are lightweight: git log --format=%ct on the tag answers with the tagged COMMIT time, so a tag pushed minutes ago onto an older commit looked hours old and defeated --min-tag-interval-seconds entirely (caught in cross-review of #11381). The throttle clock is now the GitHub release createdAt; a tag with no release stands aside (active-build fence owns the in-flight case, and a failed build should be replaced). Deferral also moved ahead of the diff scan. Verified: test_plan_desktop_release.py 25/25, including a regression test with a fresh release on an old commit asserting commit time is never consulted, and a no-release stand-aside test. Failure-Class: none
kodjima33
added a commit
that referenced
this pull request
Aug 10, 2026
Cross-review caught that `desktop/macos/AGENTS.md` → Release Pipeline still described the retired per-merge `push` trigger + 15-min backstop. Updated to the hourly-train reality shipped in #11381/#11383: hourly schedule + immediate manual dispatch, publication-time throttle (`--min-tag-interval-seconds 3300`, lightweight-tag caveat), and the newest-green-SHA fallback for a red tip. Docs-only.
Git-on-my-level
pushed a commit
to Git-on-my-level/omi
that referenced
this pull request
Aug 10, 2026
The guide still described the retired per-merge push trigger and 15-min backstop; desktop_auto_release.yml is now an hourly schedule plus immediate manual dispatch, throttled by candidate-release publication time, with the green-SHA fallback (BasedHardware#11381/BasedHardware#11383). Docs move with the code.
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
Cross-review of #11381 caught a real defect: the hourly-train throttle read
git log --format=%ct <tag>— the tagged COMMIT's time — and candidate tags are lightweight, so a tag pushed minutes ago onto an older commit looked hours old and bypassed the throttle.The throttle clock is now the candidate release's
createdAt(the authoritative publication time, fromgh release view). A tag with no release deliberately stands aside: in-flight builds are owned by the one-active-release fence, and a failed build is exactly what the train should replace. The deferral check also moved ahead of the diff scan.Product invariants affected
Verification
test_plan_desktop_release.py25/25 — new regression test constructs a fresh release on an old commit and assertstag_age_seconds(commit time) is never consulted; a second test covers the no-release stand-aside.Failure-Class: none