Skip to content

chore: post slack message on staging-internal deploy failures#24146

Open
AztecBot wants to merge 1 commit into
nextfrom
cb/ed5580a6f6f2
Open

chore: post slack message on staging-internal deploy failures#24146
AztecBot wants to merge 1 commit into
nextfrom
cb/ed5580a6f6f2

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

What

The reusable deploy-network.yml workflow derives its failure-alert Slack channel as #alerts-<network>, so failed staging-internal deploys currently post to #alerts-staging-internal. This adds an override so staging-internal deploy failures route to #alerts-staging-public instead.

Detail

The override is scoped to inputs.network == "staging-internal" only, so every other network keeps its existing #alerts-<network> destination. The downstream CHANNEL_ID used for the Slack permalink and the ClaudeBox investigation dispatch (slack_channel/slack_thread_ts) is read from the chat.postMessage response, so the ClaudeBox investigation thread follows the new channel automatically with no further change.

The deploy bot's SLACK_BOT_TOKEN must be a member of #alerts-staging-public for the post to land.

Requested by Alex Gherghisan.


Created by claudebox · group: slackbot

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jun 17, 2026
@alexghr alexghr marked this pull request as ready for review June 17, 2026 09:05
@alexghr alexghr requested a review from charlielye as a code owner June 17, 2026 09:05
@alexghr alexghr changed the title ci: route staging-internal deploy failures to #alerts-staging-public chore: post slack message on staging-internal deploy failures Jun 17, 2026
@alexghr alexghr enabled auto-merge June 17, 2026 09:05
@alexghr alexghr added this pull request to the merge queue Jun 17, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure ci-skip claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants