Skip to content

[CNSL-1934] Add pre-release pending deploy branch management#105

Open
linhcrl wants to merge 1 commit intocockroachdb:mainfrom
linhcrl:pre-release-branch-management
Open

[CNSL-1934] Add pre-release pending deploy branch management#105
linhcrl wants to merge 1 commit intocockroachdb:mainfrom
linhcrl:pre-release-branch-management

Conversation

@linhcrl
Copy link
Copy Markdown
Contributor

@linhcrl linhcrl commented Apr 11, 2026

Introduces two workflows to manage the release process:

  1. pending-deploy-pr.yml (repository_dispatch trigger):

    • Finds the latest pending-deploy-YYYYMMDD-hhmmss branch
    • Creates or reuses a PR to merge it into main
  2. pending-deploy-check.yml (pull_request trigger):

    • Validates pending deploy PRs before merge
    • Checks that Managed-service-commit-SHA trailers reference deployed commits
    • Blocks merge until all changes are confirmed deployed in managed-service
    • Posts PR comments detailing any undeployed commits

This ensures SDK releases only include changes that are live in production.


Relevant screenshots

PR opened by pending-deploy-pr.yml

Screenshot 2026-04-11 at 4 05 53 AM

Comment left by pending-deploy-check.yml on failed check

Screenshot 2026-04-11 at 3 57 55 AM

@linhcrl linhcrl changed the title [CNSL-1934] Add automated pending deploy branch management [CNSL-1934] Add pre-release pending deploy branch management Apr 13, 2026
Introduces two workflows to manage the release process:

1. pending-deploy-pr.yml (repository_dispatch trigger):
   - Finds the latest pending-deploy-YYYYMMDD-hhmmss branch
   - Creates or reuses a PR to merge it into main

2. pending-deploy-check.yml (pull_request trigger):
   - Validates pending deploy PRs before merge
   - Checks that Managed-service-commit-SHA trailers reference deployed commits
   - Blocks merge until all changes are confirmed deployed in managed-service
   - Posts PR comments detailing any undeployed commits

This ensures SDK releases only include changes that are live in production.

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@linhcrl linhcrl force-pushed the pre-release-branch-management branch from f81608f to 427284b Compare April 13, 2026 15:19
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.

1 participant