fix: replace deprecated Slack actions with mrkdwn link field#4163
Merged
Siumauricio merged 1 commit intocanaryfrom Apr 5, 2026
Merged
fix: replace deprecated Slack actions with mrkdwn link field#4163Siumauricio merged 1 commit intocanaryfrom
Siumauricio merged 1 commit intocanaryfrom
Conversation
The actions array in Slack attachments requires Interactive Components to be configured on the Slack app, which causes notifications to fail. Replaces with a Details field using mrkdwn hyperlink syntax and adds mrkdwn_in to ensure the link renders as clickable. Closes #4053
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.
What is this PR about?
The
actionsarray in Slack attachments requires Interactive Components to be configured on the Slack app, which causes notifications to fail silently. This replaces the deprecatedactionsbuttons with a Details field using Slack mrkdwn hyperlink syntax (<url|text>) and addsmrkdwn_in: ["fields"]so the link renders as clickable.Supersedes #4054 (same fix but with the missing
mrkdwn_inthat PR lacked).Checklist
canarybranch.Issues related (if applicable)
closes #4053
Screenshots (if applicable)
N/A
Greptile Summary
This PR fixes Slack build notifications by replacing the deprecated
actionsbutton array (which requires Interactive Components to be configured on the Slack app) with aDetailsfield using Slack mrkdwn hyperlink syntax (<url|text>), and addsmrkdwn_in: ["fields"]to enable link rendering. The fix is applied consistently in bothbuild-error.tsandbuild-success.ts; no other notification files used the deprecated pattern.Confidence Score: 5/5
Safe to merge — fixes silent Slack notification failures with no regression risk.
The change is minimal, targeted, and correct. Both changed files are updated consistently with proper Slack mrkdwn field syntax (
<url|text>) and the requiredmrkdwn_in: ["fields"]property. No P0/P1 issues found.No files require special attention.
Reviews (1): Last reviewed commit: "fix: replace deprecated Slack actions wi..." | Re-trigger Greptile