Skip to content

ci(release): harden release publishing workflow#5536

Merged
jgoux merged 1 commit into
developfrom
ci/release-publish-hardening
Jun 11, 2026
Merged

ci(release): harden release publishing workflow#5536
jgoux merged 1 commit into
developfrom
ci/release-publish-hardening

Conversation

@jgoux

@jgoux jgoux commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Serialize the release workflow per ref so duplicate release runs cannot publish the same computed version concurrently.
  • Make Homebrew and Scoop updaters use direct git clones with the GitHub App token available to both gh and git, and skip no-op downstream commits when the generated file is already current.
  • Harden the local npm smoke registry publish path by publishing platform packages deterministically and accepting a local conflict only when Verdaccio has already stored the package tarball.
  • Update the release process docs to match the current downstream updater behavior and GitHub App variable names.

Context

The release failures on June 10 exposed two repo-side release issues: the Homebrew updater depended on gh repo clone, which failed during GitHub GraphQL authentication, and duplicate release runs could race the same prerelease version through downstream publish/smoke-test jobs. The npm smoke-test change hardens the local Verdaccio path that surfaced during the duplicate release window.

The Alpine setup-cli failure from the same day was a Docker Hub image pull timeout during GitHub Actions container initialization, before any repository step ran.

@jgoux jgoux marked this pull request as ready for review June 10, 2026 16:22
@jgoux jgoux requested a review from a team as a code owner June 10, 2026 16:22
@github-actions

Copy link
Copy Markdown

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase@5536

Preview package for commit c03bf84.

@jgoux jgoux added this pull request to the merge queue Jun 11, 2026
Merged via the queue into develop with commit 3b4fc98 Jun 11, 2026
27 checks passed
@jgoux jgoux deleted the ci/release-publish-hardening branch June 11, 2026 06:52
mxcl pushed a commit to automic-vault/supabase-cli that referenced this pull request Jun 11, 2026
## Summary

- Serialize the release workflow per ref so duplicate release runs
cannot publish the same computed version concurrently.
- Make Homebrew and Scoop updaters use direct git clones with the GitHub
App token available to both `gh` and git, and skip no-op downstream
commits when the generated file is already current.
- Harden the local npm smoke registry publish path by publishing
platform packages deterministically and accepting a local conflict only
when Verdaccio has already stored the package tarball.
- Update the release process docs to match the current downstream
updater behavior and GitHub App variable names.

## Context

The release failures on June 10 exposed two repo-side release issues:
the Homebrew updater depended on `gh repo clone`, which failed during
GitHub GraphQL authentication, and duplicate release runs could race the
same prerelease version through downstream publish/smoke-test jobs. The
npm smoke-test change hardens the local Verdaccio path that surfaced
during the duplicate release window.

The Alpine setup-cli failure from the same day was a Docker Hub image
pull timeout during GitHub Actions container initialization, before any
repository step ran.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants