chore(release): process backports as part of creating RC#3896
Conversation
- Call ProcessBackports in CreateRc before creating RC. - Add --triggering-comment option to create-rc to react with thumbs-down on failure. - Pass triggering comment from GHA workflows. - Update tests and documentation.
There was a problem hiding this comment.
Code Review
This pull request updates the /create-rc command to automatically process pending backports before creating a release candidate. If any backport fails, the process aborts, and if triggered by a comment, it reacts with a thumbs-down emoji. The changes include updates to the documentation, a new changelog entry, the core implementation in create_rc.py, and comprehensive unit tests. The review feedback suggests two improvements: using getattr to safely access args.triggering_comment to prevent potential AttributeErrors in tests or custom namespaces, and printing the full traceback when catching unexpected exceptions to facilitate debugging in CI/CD environments.
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.
Automatically process pending backports when
/create-rcis called.If any backport fails to process (e.g. due to cherry-pick conflicts), the RC creation will abort.
Additionally, support
--triggering-commentoption to react with a thumbs-down emoji on the triggering comment if the command fails.ProcessBackportsinCreateRcbefore proceeding with RC tagging.CreateRc.runto handle exceptions and reactions.comment_idtorelease_create_rcworkflow.