Skip to content

fix: replace deprecated Slack actions with mrkdwn link field#4163

Merged
Siumauricio merged 1 commit intocanaryfrom
fix/slack-notification-mrkdwn
Apr 5, 2026
Merged

fix: replace deprecated Slack actions with mrkdwn link field#4163
Siumauricio merged 1 commit intocanaryfrom
fix/slack-notification-mrkdwn

Conversation

@Siumauricio
Copy link
Copy Markdown
Contributor

@Siumauricio Siumauricio commented Apr 5, 2026

What is this PR about?

The actions array in Slack attachments requires Interactive Components to be configured on the Slack app, which causes notifications to fail silently. This replaces the deprecated actions buttons with a Details field using Slack mrkdwn hyperlink syntax (<url|text>) and adds mrkdwn_in: ["fields"] so the link renders as clickable.

Supersedes #4054 (same fix but with the missing mrkdwn_in that PR lacked).

Checklist

  • You created a dedicated branch based on the canary branch.
  • You have read the suggestions in the CONTRIBUTING.md file https://github.com/Dokploy/dokploy/blob/canary/CONTRIBUTING.md#pull-request
  • You have tested this PR in your local instance. If you have not tested it yet, please do so before submitting. This helps avoid wasting maintainers' time reviewing code that has not been verified by you.

Issues related (if applicable)

closes #4053

Screenshots (if applicable)

N/A

Greptile Summary

This PR fixes Slack build notifications by replacing the deprecated actions button array (which requires Interactive Components to be configured on the Slack app) with a Details field using Slack mrkdwn hyperlink syntax (<url|text>), and adds mrkdwn_in: ["fields"] to enable link rendering. The fix is applied consistently in both build-error.ts and build-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 required mrkdwn_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

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
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Apr 5, 2026
@Siumauricio Siumauricio merged commit f700017 into canary Apr 5, 2026
5 checks passed
@Siumauricio Siumauricio deleted the fix/slack-notification-mrkdwn branch April 5, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slack notification failed as the API is out of date

1 participant