Merge pull request #33649 from erikmiller-gusto/feat/slack-scoped-message-updates

feat(notifications-slack): add scope-based message update support
This commit is contained in:
Patrik Oldsberg
2026-04-16 21:51:23 +02:00
committed by GitHub
8 changed files with 667 additions and 22 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-notifications-backend-module-slack': patch
---
Added scope-based message update support. When a notification is re-sent with the same `scope` and `notification.updated` is set, the processor now calls `chat.update()` on the existing Slack message instead of sending a duplicate via `chat.postMessage()`. Message timestamps are persisted in a new `slack_message_timestamps` database table with automatic daily cleanup. The processor gracefully degrades to the previous behavior when no database is provided.