Skip to content

Desktop preview lane: dispatched Codemagic builds die silently, previews never publish #10145

Closed

Description

@skanderkaroui

Symptom

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.

Activity

  1. skanderkaroui commented on Jul 21, 2026

    @skanderkaroui
    ContributorAuthor

    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.

  2. moved this from Someday to In progress in omi TODO / bountieson Aug 6, 2026
  3. undivisible commented on Aug 20, 2026

    @undivisible
    Collaborator

    Closing per automated triage (2026-08-20): verified fixed: #10223 unblocked desktop preview publishing. See /tmp/omi-issue-triage.md.

  4. moved this from In progress to In review in omi TODO / bountieson Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions