chore(ci): route backport-CI-failure Slack alert to #backports by channel ID#22955
Closed
AztecBot wants to merge 1 commit into
Closed
chore(ci): route backport-CI-failure Slack alert to #backports by channel ID#22955AztecBot wants to merge 1 commit into
AztecBot wants to merge 1 commit into
Conversation
Contributor
|
Closing in favour of #22970 |
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
Proposal to switch the "CI3 failed on backport PR" Slack notification (
.github/workflows/ci3.yml, line 144) from posting by channel name (#backports) to posting by channel ID (C0AGN2WT3CP). Channel IDs are immune to renames and don't depend on Slack name resolution.Why this is in
.github-new/This session was launched without the
ci-allowflag, so direct edits under.github/are blocked. The proposed file is at.github-new/workflows/ci3.yml. A maintainer withci-allowshould copy it over.github/workflows/ci3.yml(single-line diff below) and merge.Diff (one line)
Context
The example notification:
is emitted by
ci3.ymllines 130–145 whenever abackport-to-*-stagingPR fails CI. Routing by ID guarantees it reaches the backports channel.Note for follow-up
.github/workflows/backport.yml:112(the initial cherry-pick conflict notification) uses the same--arg c "#backports"pattern. Left untouched here per the scoped ask, but worth flipping to the channel ID for consistency in a follow-up.Test plan
.github/, trigger a backport PR CI failure (head ref starts withbackport-to-and ends with-staging) and confirm the Slack message lands in #backports.ClaudeBox log: https://claudebox.work/s/3ee68bf1f6c07856?run=1