Repository navigation
ci(desktop): 6-hourly beta release cadence (12/6/12/6 NYC) - #10386
Merged
Merged
Conversation
Replace the per-merge push trigger with a fixed 6-hourly schedule at 12am/6am/12pm/6pm America/New_York (cron 0 4,10,16,22 * * * UTC, EDT mapping; EST drifts +1h, documented in the workflow). workflow_dispatch kept for manual runs. Each tick plans the newest releasable SHA since the last tag; the quiet-window and one-active-release fences still admit one candidate at a time, so at most 4 candidates/day. Contract tests updated: no push trigger; new 6-hourly cron asserted. Removed test_push_paths_cover_releasable_desktop_paths + _parse_push_filter (no push filter to align). AGENTS.md Release Pipeline section updated. Verified: pytest plan + flow-contract suites 26 passed; actionlint clean; make preflight green (9 checks).
kodjima33
added a commit
that referenced
this pull request
Jul 23, 2026
…10404) ## Summary Restore **continuous deployment** of the desktop beta: plan a candidate on **every macOS-affecting merge to main** (revert of the 6-hourly-only #10386), with the hourly `schedule` as a backstop. The candidate then flows through the existing two-machine qualification pipeline and, on pass, promotes to beta — no new downstream wiring needed. ## Full pipeline (unchanged downstream, restored front-end) 1. **`desktop_auto_release.yml`** — `push` on `main` (releasable desktop paths) → plans + tags `v*-macos`. (this PR) 2. **Codemagic `omi-desktop-swift-release`** — builds universal binary, Developer ID sign, Apple notarize, DMG + **Sparkle ZIP**, publishes immutable candidate. 3. **`desktop_qualify_beta.yml`** — Codemagic primary lane + self-hosted `qualify-m1-studio` and `qualify-m4-mini` (the 2 machines), fail-closed, at-least-one-passes verdict. 4. **`desktop_promote_beta.yml`** — on qualification success, advances the beta channel pointer to the qualified, Sparkle-signed artifact. ## Changes - `desktop_auto_release.yml`: re-added the `push` trigger (paths: `desktop/macos/**`, `codemagic.yaml`, planner script, the two workflows); schedule reverted to hourly `17 * * * *` backstop. - Contract tests restored to require the push trigger + the push-paths↔releasable-paths alignment guard (`test_push_paths_cover_releasable_desktop_paths` + `_parse_push_filter`); cron assertion back to hourly. Kept the #10402 bash-3.2 readiness regression test. - `desktop/macos/AGENTS.md`: Release Pipeline section describes the continuous cadence. ## Verification - `pytest` plan + flow-contract suites → 27 passed, 37 subtests. actionlint clean. YAML triggers = [workflow_dispatch, push, schedule]. Note: end-to-end auto-promotion to beta additionally depends on qualification passing (the cold-build-timeout fix #10374 and the just-landed pre-tag-readiness bash-3.2 fix #10402). Those are the qualification gates, separate from this front-end trigger change.
Archit-lal
pushed a commit
to Archit-lal/omi
that referenced
this pull request
Jul 23, 2026
Revert the 6-hourly-only cadence (BasedHardware#10386): plan a beta candidate on every macOS-affecting push to main, with the hourly schedule as a backstop. The candidate flows through the existing two-machine qualification pipeline (desktop_qualify_beta.yml: Codemagic primary + qualify-m1-studio/qualify-m4-mini) and, on qualification success, desktop_promote_beta.yml advances the beta channel to the Codemagic-built, notarized, Sparkle-signed artifact. Restored the push trigger, the push-paths<->releasable-paths alignment guard, and the hourly cron assertion; kept the BasedHardware#10402 bash-3.2 readiness regression test. AGENTS.md Release Pipeline section updated to the continuous cadence. Verified: pytest plan + flow-contract 27 passed; actionlint clean; make preflight green (9 checks).
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…ware#10386) ## Summary Switch desktop beta release candidates to a fixed **6-hourly schedule** at 12am / 6am / 12pm / 6pm America/New_York, replacing the per-merge push trigger. Cron `0 4,10,16,22 * * *` (UTC; maps to those hours in EDT). ## Changes - `desktop_auto_release.yml`: removed the `push` trigger; schedule is now `0 4,10,16,22 * * *` (was hourly `17 * * * *`). `workflow_dispatch` kept for manual runs. - Contract tests updated: `test_has_one_automatic_candidate_to_beta_authority` now asserts no `push` trigger; `test_workflow_has_no_input_manual_trigger...` asserts the new 6-hourly cron and no push. Removed `test_push_paths_cover_releasable_desktop_paths` + its `_parse_push_filter` helper (no push filter to align anymore). - `desktop/macos/AGENTS.md`: Release Pipeline section updated to the 6-hourly scheduled cadence. ## Behavior Each scheduled tick plans the newest releasable SHA since the last tag; the quiet-window + one-active-release fences still admit at most one candidate at a time. At most 4 candidates/day. DST note: cron is UTC-only, so during EST the local times drift +1h (documented in the workflow). ## Verification - `pytest` plan + flow-contract suites → 26 passed, 37 subtests. actionlint clean. YAML triggers = [workflow_dispatch, schedule], cron `0 4,10,16,22 * * *`. Note: `Desktop Swift Static Contracts` / `test_check_release_process_guards.py` is already red on `main` (21-vs-22 Codemagic step-count from BasedHardware#10363's merge) — pre-existing and unrelated to this diff.
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
Revert the 6-hourly-only cadence (BasedHardware#10386): plan a beta candidate on every macOS-affecting push to main, with the hourly schedule as a backstop. The candidate flows through the existing two-machine qualification pipeline (desktop_qualify_beta.yml: Codemagic primary + qualify-m1-studio/qualify-m4-mini) and, on qualification success, desktop_promote_beta.yml advances the beta channel to the Codemagic-built, notarized, Sparkle-signed artifact. Restored the push trigger, the push-paths<->releasable-paths alignment guard, and the hourly cron assertion; kept the BasedHardware#10402 bash-3.2 readiness regression test. AGENTS.md Release Pipeline section updated to the continuous cadence. Verified: pytest plan + flow-contract 27 passed; actionlint clean; make preflight green (9 checks).
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…asedHardware#10404) ## Summary Restore **continuous deployment** of the desktop beta: plan a candidate on **every macOS-affecting merge to main** (revert of the 6-hourly-only BasedHardware#10386), with the hourly `schedule` as a backstop. The candidate then flows through the existing two-machine qualification pipeline and, on pass, promotes to beta — no new downstream wiring needed. ## Full pipeline (unchanged downstream, restored front-end) 1. **`desktop_auto_release.yml`** — `push` on `main` (releasable desktop paths) → plans + tags `v*-macos`. (this PR) 2. **Codemagic `omi-desktop-swift-release`** — builds universal binary, Developer ID sign, Apple notarize, DMG + **Sparkle ZIP**, publishes immutable candidate. 3. **`desktop_qualify_beta.yml`** — Codemagic primary lane + self-hosted `qualify-m1-studio` and `qualify-m4-mini` (the 2 machines), fail-closed, at-least-one-passes verdict. 4. **`desktop_promote_beta.yml`** — on qualification success, advances the beta channel pointer to the qualified, Sparkle-signed artifact. ## Changes - `desktop_auto_release.yml`: re-added the `push` trigger (paths: `desktop/macos/**`, `codemagic.yaml`, planner script, the two workflows); schedule reverted to hourly `17 * * * *` backstop. - Contract tests restored to require the push trigger + the push-paths↔releasable-paths alignment guard (`test_push_paths_cover_releasable_desktop_paths` + `_parse_push_filter`); cron assertion back to hourly. Kept the BasedHardware#10402 bash-3.2 readiness regression test. - `desktop/macos/AGENTS.md`: Release Pipeline section describes the continuous cadence. ## Verification - `pytest` plan + flow-contract suites → 27 passed, 37 subtests. actionlint clean. YAML triggers = [workflow_dispatch, push, schedule]. Note: end-to-end auto-promotion to beta additionally depends on qualification passing (the cold-build-timeout fix BasedHardware#10374 and the just-landed pre-tag-readiness bash-3.2 fix BasedHardware#10402). Those are the qualification gates, separate from this front-end trigger change.
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
Switch desktop beta release candidates to a fixed 6-hourly schedule at 12am / 6am / 12pm / 6pm America/New_York, replacing the per-merge push trigger. Cron
0 4,10,16,22 * * *(UTC; maps to those hours in EDT).Changes
desktop_auto_release.yml: removed thepushtrigger; schedule is now0 4,10,16,22 * * *(was hourly17 * * * *).workflow_dispatchkept for manual runs.test_has_one_automatic_candidate_to_beta_authoritynow asserts nopushtrigger;test_workflow_has_no_input_manual_trigger...asserts the new 6-hourly cron and no push. Removedtest_push_paths_cover_releasable_desktop_paths+ its_parse_push_filterhelper (no push filter to align anymore).desktop/macos/AGENTS.md: Release Pipeline section updated to the 6-hourly scheduled cadence.Behavior
Each scheduled tick plans the newest releasable SHA since the last tag; the quiet-window + one-active-release fences still admit at most one candidate at a time. At most 4 candidates/day. DST note: cron is UTC-only, so during EST the local times drift +1h (documented in the workflow).
Verification
pytestplan + flow-contract suites → 26 passed, 37 subtests. actionlint clean. YAML triggers = [workflow_dispatch, schedule], cron0 4,10,16,22 * * *.Note:
Desktop Swift Static Contracts/test_check_release_process_guards.pyis already red onmain(21-vs-22 Codemagic step-count from #10363's merge) — pre-existing and unrelated to this diff.