fix(notification): send playbook slack blocks as raw content#2786
fix(notification): send playbook slack blocks as raw content#2786
Conversation
Route playbook notification actions through SendRawNotification instead of SendNotification so preformatted Slack blocks are not re-formatted. Also harden Slack block detection by validating JSON structure rather than checking for a string substring.
WalkthroughUpdates Slack notification handling by introducing JSON-based blocks detection to replace substring checks, refactors notification payload data structures from Changes
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Route playbook notification actions through SendRawNotification instead of
SendNotification so preformatted Slack blocks are not re-formatted.
Also harden Slack block detection by validating JSON structure rather
than checking for a string substring.
Summary by CodeRabbit