You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop preview lane: dispatched Codemagic builds die silently, previews never publish #10145
Desktop preview builds dispatched through desktop_publish_preview.yml are accepted by Codemagic but never publish. The preview URL silently falls back to the stable download, so testers get the wrong build with no error anywhere.
How the lane is supposed to work
Push code to a preview/<slug> branch → the dispatcher workflow pins it to an immutable SHA and hands it to the Codemagic omi-desktop-swift-preview workflow → Codemagic builds it as a separate signed + notarized preview app and uploads the DMG to gs://omi_macos_updates/previews/ → the build registers itself in the backend preview registry → https://macos.omi.me/preview/<slug> serves it. An unregistered slug falls back to the generic stable download.
What we observed
Two dispatch runs for preview/v5 completed green (29759699196, 29761764393) — green means Codemagic returned build IDs. 2+ hours later: zero objects under previews/ in the bucket, macos.omi.me/preview/v5 still 301s to the stable download, and no Codemagic commit status on the SHA. The builds die at startup, before checkout or signing.
Likely cause
The workflow's desktop_preview_secrets group (preview signing cert, notary creds, publish key, GCS identity) is probably not provisioned in the Codemagic app — the lane merged in #9735 but may never have run end-to-end. Needs someone with Codemagic dashboard access to read today's two build failures and provision the group.
Related observation
The desktop-preview-publish GitHub environment has no protection rules, so the intended release-maintainers approval gate is not enforced — publish jobs run straight through.
Prior occurrence: the identical failure hit the omi-v3 preview on 2026-07-16 (#9895, now closed as superseded by this issue) — dispatch run 29525548565 resolved and handed off fine, DMG 404, fallback to stable. Two different slugs, four dispatches, zero artifacts: the lane has never completed end-to-end, consistent with the unprovisioned desktop_preview_secrets group.
Activity
skanderkaroui commentedon Jul 21, 2026
Prior occurrence: the identical failure hit the
omi-v3preview on 2026-07-16 (#9895, now closed as superseded by this issue) — dispatch run 29525548565 resolved and handed off fine, DMG 404, fallback to stable. Two different slugs, four dispatches, zero artifacts: the lane has never completed end-to-end, consistent with the unprovisioneddesktop_preview_secretsgroup.fix(ci): validate Codemagic build IDs before observe (BasedHardware#1…
undivisible commentedon Aug 20, 2026
Closing per automated triage (2026-08-20): verified fixed: #10223 unblocked desktop preview publishing. See /tmp/omi-issue-triage.md.
fix(ci): fail closed when Codemagic desktop preview dies after dispat…
fix(backend): read the preview pointer before writing the manifest (#…