Repository navigation
ci: bump cherry-pick workflow to v1.12.2, alert Gym channel - #4119
Merged
kajalj22 merged 4 commits intoOct 6, 2026
Merged
Conversation
v0.63.0 ignores command failures, so a conflicting cherry-pick still force-pushes an empty cherry-pick branch and the job ends green. v1.12.2 fails the job on a conflict, skips the empty push, and treats a failed Slack post as an error instead of hiding it. Co-Authored-By: Claude <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
The shared workflow's own Slack alert goes to a webhook that no longer works. Add a follow-up job that sends the failure to the same team channel webhook the nightly CI failure alert uses. It runs in the main environment, which holds that secret; a job that calls a reusable workflow cannot set an environment itself. Co-Authored-By: Claude <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
Pass the team channel webhook (now a repo-level secret) to the shared workflow so its own conflict alert reaches the Gym alerts channel, and tag the Gym support group via notify-mention. This replaces the separate notify-failure job, which only existed because the webhook was an environment secret the caller could not read. Co-Authored-By: Claude <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
Contributor
Author
|
/ok to test eb0d301 |
ananthsub
approved these changes
Oct 6, 2026
kajalj22
added a commit
that referenced
this pull request
Oct 6, 2026
…9)` into `r0.7.0` (#4124) beep boop [🤖]: Hi @kajalj22 👋, we've cherry picked #4119 into `r0.7.0` for you! 🚀 Please review and approve this cherry pick by your convenience! Signed-off-by: Kajal Jain <[email protected]> Signed-off-by: NeMo Bot <[email protected]> Co-authored-by: kajalj22 <[email protected]> Co-authored-by: Claude <[email protected]>
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
.github/workflows/cherry-pick-release-commit.ymlfromv0.63.0tov1.12.2.notify-mention.Why
v0.63.0ignores command failures. When a release-labeled PR conflicts with the release branch, the job:cherry-pick-<number>-<release branch>branch that contains only the release branch (no change),curltreats the Slack error response (no_service) as success,cp:PR exists.v1.12.2fixes this: the job fails on a conflict, no empty branch is pushed, and a failed Slack post is logged as an error instead of hiding the result. PointingSLACK_WEBHOOKat the team channel webhook makes the alert actually arrive, with the PR author, a PR link and the support group tag.Test plan
Tested on a throwaway trigger branch with a dummy release branch (the workflow file from this PR, with the trigger branch, target-branch pattern and CI label overridden and the mention pointed at one user instead of the group). All throwaway branches and the test label were deleted afterwards.
b7c7f7d585ad8f529a111e69afcbf14f0279663ematches thev1.12.2tag inNVIDIA-NeMo/FW-CI-templatesPATand repo-levelSLACK_TEAM_CHANNEL_WEBHOOKsecrets confirmed presentcherry-pick-*branch is pushed, and the failure alert is posted to the Gym alerts channel with the mention rendered