Skip to content

Start the desktop preview builds and the preview CLI bundle from the release #3715

Closed

Description

@integry

Problem

For v0.9.2 the desktop previews took seven manual dispatches with hand-copied digests: preview-runtime-images.yml (publish-agent, publish), desktop-linux-preview.yml (stage-draft), desktop-linux-signed-preview.yml (sign-draft with the stage run id, then publish-draft with the signing run id), desktop-macos-preview.yml, and preview-cli-bundle.yml (for ProPR Hosted). Two details made it error-prone:

  • The release workflow pushes propr/app:<tag commit SHA> and propr/ui:<tag commit SHA> as amd64-only images, while the previews need two-architecture manifests under an immutable SHA tag. v0.9.2's previews therefore had to use the release PR's head commit (60792554…, identical tree) instead of the tag commit (0c6213a6…).
  • Each later step needs outputs of the earlier ones (three image digests, the unsigned stage run id, the signing run id).

Expected / acceptance criteria

  • One manually dispatchable workflow, release-rollout.yml (input: release tag), also started automatically when the Docker Images workflow succeeds for a tag, runs the chain in order and passes the outputs along: runtime images (agent, then app/UI), then in parallel the Linux draft → signing → signed publication, the macOS preview, and the preview CLI bundle.
  • Every existing protected environment and its approval stays exactly as it is (desktop-linux-preview-runtime-publication, desktop-linux-rpm-signing, desktop-linux-preview-publication, desktop-macos-preview-publication); the chain waits at each. No new secret is introduced and no existing job gains a secret it does not have today.
  • The source revision is the tag commit. Resolve the SHA-tag clash: either the release workflow stops pushing a single-architecture image under the bare commit SHA tag, or the preview workflows accept an existing SHA tag only when its manifest already is the required two-architecture one and otherwise publish under a tag that cannot clash. State the choice and why in the PR.
  • Re-running the chain for a tag whose artefacts already exist is safe: each step detects the existing immutable artefact and moves on.
  • The existing single-step dispatches keep working.
  • Workflow contract tests for the new workflow and for the changed ones.

Implementation

Prefer workflow_call on the existing workflows over duplicating their jobs; where a workflow cannot be made callable without widening its permissions, dispatch it and wait on the run. Read apps/desktop/README.md (Linux and macOS preview channels) and packages/cli/scripts/preview-package.md first.

Activity

  1. propr-dev commented on Nov 18, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3715/claude-opus-5-5-start-the-desktop-preview-20261118-1901-mp2
    • Base Branch: 3713-epic-release-flow-z2m
    • Worktree: issue-3715-20261118-1901-claude-opus-5-5-mp2

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions