Upgrade Slack notification for self-healing workflow with threaded details#3073
Merged
Upgrade Slack notification for self-healing workflow with threaded details#3073
Conversation
The Write tool is denied by permissionMode: default in claude-code-action. Triage and Router must use Bash heredoc to write their result files to /tmp/. Fixes #3065 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Haiku treated the previous prompt as a role description and waited for instructions. Rewritten to say "Execute these steps NOW" with no preamble. Also removed chatty framing. Fix #3065 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Previously fell back to passing all PRs to Router, wasting tokens. Now stops cleanly and reports the failure in the summary. Fixes #3065 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace incoming webhook with chat.postMessage API for thread support. Main message stays short (result + View run + see thread). Thread reply contains the full breakdown: pre-filtering, triage, router, drafter. Requires SLACK_BOT_TOKEN and SLACK_DOCUMENTATION_OPS_CHANNEL_ID secrets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Replaces the incoming webhook with Slack Bot API (
chat.postMessage) to support threaded replies.Main message: short result summary + "see thread for details 🧵"
Thread reply: full breakdown — pre-filtering stats, triage decisions, router decisions, drafter results, link to GitHub run.
Requires new secrets:
SLACK_BOT_TOKEN(xoxb-...) — already configuredSLACK_DOCUMENTATION_OPS_CHANNEL_ID— already configuredThe old
SLACK_WEBHOOK_DOCUMENTATION_OPSsecret is no longer used and can be removed.Test plan
workflow_dispatch→ verify main message in#documentation-ops🤖 Generated with Claude Code