Skip to content

Upgrade Slack notification for self-healing workflow with threaded details#3073

Merged
pwizla merged 8 commits intomainfrom
repo/self-healing-slack-thread
Apr 17, 2026
Merged

Upgrade Slack notification for self-healing workflow with threaded details#3073
pwizla merged 8 commits intomainfrom
repo/self-healing-slack-thread

Conversation

@pwizla
Copy link
Copy Markdown
Collaborator

@pwizla pwizla commented Apr 17, 2026

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 configured
  • SLACK_DOCUMENTATION_OPS_CHANNEL_ID — already configured

The old SLACK_WEBHOOK_DOCUMENTATION_OPS secret is no longer used and can be removed.

Test plan

  • workflow_dispatch → verify main message in #documentation-ops
  • Click thread → verify detailed breakdown appears
  • Test with a qualifying PR → verify :noted: emoji and PR links in thread

🤖 Generated with Claude Code

pwizla and others added 8 commits April 16, 2026 23:04
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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Apr 17, 2026 1:24pm

Request Review

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo labels Apr 17, 2026
@pwizla pwizla marked this pull request as ready for review April 17, 2026 13:24
@pwizla pwizla requested a review from derrickmehaffy as a code owner April 17, 2026 13:24
@pwizla pwizla added codex PR generated with the help of OpenAI's Codex and removed pr: updated content PRs updating existing documentation content labels Apr 17, 2026
@pwizla pwizla self-assigned this Apr 17, 2026
@pwizla pwizla added this to the 6.22.0 milestone Apr 17, 2026
@pwizla pwizla changed the title Upgrade Slack notification with threaded details Upgrade Slack notification for self-healing workflow with threaded details Apr 17, 2026
@pwizla pwizla merged commit b005f8a into main Apr 17, 2026
12 checks passed
@pwizla pwizla deleted the repo/self-healing-slack-thread branch April 17, 2026 13:26
@pwizla pwizla removed the request for review from derrickmehaffy April 17, 2026 13:42
@pwizla pwizla removed this from the 6.22.0 milestone Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex PR generated with the help of OpenAI's Codex internal PRs created by the Strapi core team source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant