Skip to content

fix(prepare): Detect pending remote release branches - #883

Merged
BYK merged 1 commit into
masterfrom
fix/detect-remote-release-branch
Sep 28, 2026
Merged

BYK merged 1 commit into
masterfrom
fix/detect-remote-release-branch

Conversation

@BYK

@BYK BYK commented Sep 28, 2026

Copy link
Copy Markdown
Member

Summary

  • inspect every effective push destination before release preparation starts
  • stop pending releases before GitHub outputs, prompts, or dry-run worktrees
  • push with an exact refspec and an expected-absent lease to close the preflight race
  • keep --no-push guidance race-safe
  • add end-to-end coverage for push URLs, query failures, races, successful pushes, and disabled pushes

Testing

  • pnpm test src/__tests__/prepare-dry-run.e2e.test.ts --printConsoleTrace (14 passed)
  • pnpm test --printConsoleTrace (1,212 passed, 1 skipped)
  • pnpm typecheck
  • pnpm lint (0 errors, 7 existing warnings)
  • pnpm format:check
  • pnpm build

Closes #882

@BYK
BYK merged commit 9506755 into master Sep 28, 2026
22 checks passed
@BYK
BYK deleted the fix/detect-remote-release-branch branch September 28, 2026 10:37

This branch was successfully deployed

1 active deployment
false — e4aa85bd Deployed Sep 28, 2026 by BYK via Build #2943
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.

Detect an existing remote release branch before preparing a release

1 participant