Repository navigation
feat(release): hourly beta train, un-wedgeable gates, launch floor, faster builds - #11381
Merged
Merged
Conversation
…aster builds 1. desktop_auto_release runs hourly (schedule + planner --min-tag-interval- seconds 3300 on schedule runs only): at most one candidate per hour, coalescing merges; manual dispatch stays immediate. The planner also falls back to the newest green releasable SHA when the newest one carries a failed required check, so a red tip no longer stalls the train. 2. Release Eligibility accepts changelog fragments already in the tree (release lane only) — the per-push PR-label blindness that wedged the gate three times in #11374 cannot recur. 3. The signed-artifact smoke launch probe always asserts sustained liveness; it was silently short-circuited by canary mode on every CI release build. 4. Codemagic caches Desktop/.build; desktop-swift-release-compile runs on PRs for releasable desktop changes so release-only strict-concurrency breaks (#11373) die before merge. Verified: test_plan_desktop_release 23/23, test_desktop_changelog 7/7, test_pre_push_ci_prediction 14/14, bash -n smoke script, py_compile all.
kodjima33
added a commit
that referenced
this pull request
Aug 10, 2026
…mmit time (#11383) ## 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, from `gh 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 - INV-BETA-1 ## Verification - `test_plan_desktop_release.py` 25/25 — new regression test constructs a fresh release on an old commit and asserts `tag_age_seconds` (commit time) is never consulted; a second test covers the no-release stand-aside. Failure-Class: none
Archit-lal
pushed a commit
to Archit-lal/omi
that referenced
this pull request
Aug 10, 2026
…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 BasedHardware#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
The three pipeline changes Nik requested after incident #11374 (broken served beta + wedged release lane): auto-updates to beta at most hourly, a guaranteed works-at-launch floor, and a faster pipeline.
1. Hourly release train, un-wedgeable
desktop_auto_release.ymlgains an hourlyschedule(7 * * * *); the planner's new--min-tag-interval-seconds(3300, schedule runs only) makes the train cut at most one candidate per hour, coalescing all merges since the last tag. Manual dispatch stays immediate (the emergency lane Served macOS Beta 0.12.154 broken; release lane was blocked by non-Sendable KG ResolveOutcome #11374 used).DESKTOP_CHANGELOG_ACCEPT_TREE_FRAGMENTS=1on the release lane only) — the per-push PR-label blindness that wedged the gate three times today (fix(desktop): unblock the release lane — KG ResolveOutcome is Sendable #11373/chore(desktop): changelog fragment for the KG Sendable fix (release-gate unblock) #11375/chore(desktop): re-arm the release gate (Swift path + fragment in one push) #11377) cannot recur. Per-PR enforcement unchanged.2. Works-at-launch floor
--notification-callback-canarywas passed — which is every CI release build — because the canary app deliberately exits after writing its marker). Every candidate now proves "launches via LaunchServices and stays alive" for both identities before publication.3. Faster wall-clock + release-only breaks die in PRs
Desktop/.build(the two cold release compiles were the single largest cost).desktop-swift-release-compilenow runs on PRs for any releasable desktop change, not only pushes/Package changes — the exact class that shipped the KG Sendable break through a green-debug PR.Follow-up (filed separately): launch-smoke promotion tier + async T2 with auto-rollback, and parallel notarization.
Product invariants affected
Verification
test_plan_desktop_release.py23/23 (new: hourly-train defer, manual-dispatch bypass, green-SHA fallback, no-fallback block; trigger-contract tests updated to the train design per Nik's directive).test_desktop_changelog.py7/7 (new: tree-fragment acceptance, empty-dir rejection, invalid-fragment failure).test_pre_push_ci_prediction.py14/14 (asymmetry test replaced with PR+push parity, non-desktop negative case).bash -non the smoke script;py_compileon all touched Python.Failure-Class: none