Repository navigation
fix(slack): treat is_archived as a destination-not-found error - #2428
Merged
haritamar merged 1 commit intoDec 2, 2026
Merged
Conversation
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
|
👋 @haritamar |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
NoyaArie
approved these changes
Dec 2, 2026
haritamar
deleted the
devin/1796210327-slack-is-archived-destination-error
branch
December 2, 2026 13:10
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.
Summary
Sending to an archived Slack channel raised a plain
MessagingIntegrationError, which callers treat as "the integration is broken" rather than "this destination is misconfigured" — in Elementary Cloud that paged the on-call rotation instead of opening a customer issue (PagerDuty #3127, Hibob's archiveddbt-governance-test-alerts)._handle_send_errnow mapsis_archivedtoMessagingIntegrationDestinationNotFoundError(the same class aschannel_not_found), with a message telling the user to unarchive the channel or remove it from the alert settings.An existing test asserted the old behavior for
is_archived; it andtest_send_error_keeps_slack_error_codenow useratelimitedas the generic-error example.Linear: CORE-1826
Link to Devin session: https://app.devin.ai/sessions/001c95c1e5e74c64b062067800cfdfd3
Open in Devin Desktop: https://app.devin.ai/desktop/session/001c95c1e5e74c64b062067800cfdfd3?variant=devin
Requested by: @haritamar
🟢 Devin Review found nothing to fix · View findings
Summary by CodeRabbit