Skip to content

ci(desktop): 6-hourly beta release cadence (12/6/12/6 NYC) - #10386

Merged
kodjima33 merged 1 commit into
mainfrom
desktop/beta-6h-cadence
Jul 23, 2026
Merged

kodjima33 merged 1 commit into
mainfrom
desktop/beta-6h-cadence

Conversation

@kodjima33

@kodjima33 kodjima33 commented Jul 23, 2026 •

Copy link
Copy Markdown
Collaborator

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 #10363's merge) — pre-existing and unrelated to this diff.

Review in cubic

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
kodjima33 merged commit d7f47d3 into main Jul 23, 2026
@kodjima33
kodjima33 deleted the desktop/beta-6h-cadence branch July 23, 2026 05:17
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant