Docs self-healing workflow improvements: Add Slack notification#3072
Merged
Docs self-healing workflow improvements: Add Slack notification#3072
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>
Posts a summary to Slack via incoming webhook with: - Run result (no PRs / triage skip / router skip / PRs created) - Links to created doc PRs - Errors if any - Link to the GitHub Actions run for details Non-blocking: if webhook fails, run still succeeds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- :noted: instead of 🎉 when doc PRs are created - 🚨 message when any step fails - Checks job.status for failure detection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
:pepe_alarm: for failures, :frog_shrug: for router skip,⚠️ for errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Posts a summary to
#documentation-opsvia Slack incoming webhook after each self-healing run.Messages by scenario:
:white_check_mark: No candidate PRs:white_check_mark: Triage eliminated all PRs:mag: No documentation targets:tada: X doc PR(s) createdwith links:x: ErrorslistedEach message includes a link to the GitHub Actions run.
Requires:
SLACK_WEBHOOK_DOCUMENTATION_OPSsecret (already configured).Non-blocking: if the webhook fails, the workflow still succeeds.
Test plan
workflow_dispatch→ verify Slack message appears in#documentation-ops🤖 Generated with Claude Code