chore: release workflow for codegen 3.0#12730
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Implements a new GitHub Actions release workflow for the 3.0.0 branch (“Codegen 3.0”) by replacing the legacy monolithic release workflow with a staged pipeline and a set of shared release helper scripts. The workflow supports optional generators release, dry-run mode, and post-release automation to open a “next snapshot” PR.
Changes:
- Added a new staged workflow (
release-codegen-3.yml) and removed the legacy full release workflow. - Introduced version-resolution and build helper scripts to validate preconditions, handle the codegen↔generators bootstrap cycle, and gate deploy/publish steps.
- Extended release file update tooling to support a post-release “move back to snapshot” mode and automated snapshot PR preparation.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| CI/release/update-codegen-release-files.py | Adds post mode and snapshot doc update helpers for post-release snapshot automation. |
| CI/release/resolve-release-versions.sh | New resolver to compute canonical versions/flags and enforce safe release preconditions. |
| CI/release/post-codegen-snapshot.sh | New script to bump the repo back to the next -SNAPSHOT and update related files. |
| CI/release/common.sh | Adds shared helpers (notice/output, maven property reads, resolve checks, artifact constants). |
| CI/release/build-codegen-with-generators.sh | New standardized build wrapper to build codegen against an explicit generators version. |
| .github/workflows/release-full-3.yml | Removes legacy single-job release workflow. |
| .github/workflows/release-codegen-3.yml | Adds the new multi-stage release workflow with dry-run and post-release PR automation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
748d047 to
ed08df6
Compare
daniel-kmiecik
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Codegen 3.0 release workflow for branch 3.0.0 as the second part of the release automation split (prepare-release was done earlier). Supports:
What Changed
Workflows
Release scripts
Flow
1. validate
2. bootstrap_codegen (only if generators must be released)
3. generators (optional)
4. codegen
5. optional docker and online_deploy
6. post_release_pr
Dry-Run Safety
With dry_run=true (default):
Inputs Added
Why