Skip to content

Release guard: require the remote-vN bundle to be published, not only tagged #1966

Closed

Description

@devswha

CodeRabbit found this in its review of the 0.4.18 release PR (#1964), at shared/machines.ts:8.

scripts/release-guards.ts accepts the remote-vN Git tag as soon as the tag exists, before the Remote PC bundles workflow has uploaded that bundle's manifest.json. A Release run started in between could publish the app while remote PCs get a manifest URL that has no bundle behind it yet.

The documented steps already avoid this by waiting for the Remote PC bundles workflow before running Release (docs/development.md#releasing, step 3). The guard does not enforce it, though.

Suggested fix: the Release preflight in .github/workflows/release.yml (or the release guard) checks that the remote-vN release asset/manifest is published, not only that the tag exists.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions