Skip to content

Restore least-privilege credentials for external macOS Preview publishing #10221

Open

Description

@Git-on-my-level

External Preview publishing is temporarily unblocked by importing the existing signing/release Codemagic credential groups into omi-desktop-swift-preview; this is intentionally broad and must be removed.

Restore a least-privilege capability split:

  • signing/notarization-only group shared by canonical release and Preview;
  • release/Beta/GitHub publication authority only in the canonical release workflow;
  • Preview registry key and GCS identity limited to previews/** only in Preview.

Verify an immutable Preview SHA end-to-end: Developer ID import, signing, notarization, artifact upload, registry publication, public preview URL, and unchanged Beta/Stable pointers. Do not expose or copy secret values through logs/API responses.

Activity

  1. aryanorastar commented on Aug 6, 2026

    @aryanorastar
    Collaborator

    VERIFY (2026-08-06): this remains maintainer-ops, not a contributor code pickup.

    On main, #10223 still has the intentional temporary broad imports (desktop_preview_secrets + appstore_credentials + desktop_secrets) locked by release-process guards. Restoring least privilege needs Codemagic/GCP provisioning first (signing inputs + scoped GCS SA + publish key + any build-env secret currently only in desktop_secrets), then one immutable Preview SHA E2E, then a small YAML/guard narrow.

    I won’t open a premature “remove desktop_secrets” PR — it would re-break Preview the same way #10145 describes. Related observability-only work is already in #11171 (fail-closed when Codemagic dies; secrets explicitly deferred here).

    @Git-on-my-level when the Preview group is provisioned and one SHA verifies green, happy to land the shrink-only guard/YAML follow-up.

  2. added
    docs-tooling
    p3
    and removed
    docs-tooling
    p3
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-toolingp3

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions