Skip to content

chore(release): release automation fixes and refactoring#3885

Merged
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:fix-promote-rc-upstream
Jul 2, 2026
Merged

chore(release): release automation fixes and refactoring#3885
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:fix-promote-rc-upstream

Conversation

@rickeylev

@rickeylev rickeylev commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator
  • Fix promote_rc dry run message to use correct remote.
  • Support spaces in metadata parsing and format commit SHA with space for GitHub autolinking.
  • Trigger release publish workflow from create_rc workflow using workflow_call.
  • Replace version markers during backport processing.
  • Split release_test.py into separate files for each command.
  • Refactor release tool BUILD targets to use py_library and glob.

- Fix promote_rc dry run message to use correct remote.
- Support spaces in metadata parsing and format commit SHA with space for GitHub autolinking.
- Trigger release publish workflow from create_rc workflow using workflow_call.
- Replace version markers during backport processing.
- Split release_test.py into separate files for each command.
- Refactor release tool BUILD targets to use py_library and glob.
@rickeylev rickeylev requested a review from aignas as a code owner July 2, 2026 17:30

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request restructures the release tools and their test suite by splitting the monolithic release_test.py into individual test files for each release command and helper module, while updating the Bazel build targets. It also updates workflow references to release_publish.yaml, adds GITHUB_OUTPUT support to create_rc.py, handles version marker replacement during backport processing, and improves metadata parsing and formatting in release_issue.py to support GitHub commit autolinking. The feedback recommends excluding release.py from the release_lib library's sources in BUILD.bazel to avoid duplicate source file warnings or packaging conflicts in Bazel.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread tools/private/release/BUILD.bazel Outdated
@rickeylev rickeylev merged commit e51d822 into bazel-contrib:main Jul 2, 2026
5 of 6 checks passed
@rickeylev rickeylev deleted the fix-promote-rc-upstream branch July 2, 2026 17:56
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