Skip to content

ci(desktop): restore continuous beta deployment on every macOS merge - #10404

Merged
kodjima33 merged 1 commit into
mainfrom
desktop/restore-continuous-push
Jul 23, 2026
Merged

kodjima33 merged 1 commit into
mainfrom
desktop/restore-continuous-push

Conversation

@kodjima33

@kodjima33 kodjima33 commented Jul 23, 2026 •

Copy link
Copy Markdown
Collaborator

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 fix(release): pre-tag readiness gate crashed on bash 3.2, blocking every auto-release #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.

Review in cubic

Revert the 6-hourly-only cadence (#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 #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).
@kodjima33
kodjima33 merged commit 6658bb7 into main Jul 23, 2026
@kodjima33
kodjima33 deleted the desktop/restore-continuous-push branch July 23, 2026 16:28
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