chatwoot/lib/integrations
Sojan Jose c7193c7917
fix(slack): handle archived channel errors in SendOnSlackJob (#13520)
When a Slack-integrated channel is archived, posting from Chatwoot
raises `Slack::Web::Api::Errors::IsArchived` in `SendOnSlackJob`, which
retries and can end up in dead jobs. This can be reproduced by archiving
the connected Slack channel for a valid hook and creating outgoing
messages. This change adds `IsArchived` to the existing handled Slack
API rescue path in
`Integrations::Slack::SendOnSlackService#send_message`, so
archived-channel failures now follow the same flow as related Slack
failures (`prompt_reauthorization!` + `disable`) instead of bubbling and
retrying repeatedly. I tested this by running `bundle exec rubocop
lib/integrations/slack/send_on_slack_service.rb` (with `rbenv`
initialized), and it passes with no offenses.

Sentry issue: https://chatwoot-p3.sentry.io/issues/7150427066/
2026-02-11 17:05:44 -08:00
..
captain feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
dialogflow chore: Add region option to Dialogflow integration (#11510) 2025-06-05 20:01:17 -05:00
dyte feat: Upgrade Dyte apis to v2 (#10706) 2025-02-19 14:47:48 -08:00
facebook feat: Facebook delivery reports (#8136) 2023-11-20 12:22:45 +05:30
google_translate fix: Rendering of translations based on the user's locale (#13211) 2026-01-08 18:37:42 -08:00
linear feat: Add user attribution to Linear integration with actor authorization (#11774) 2025-07-01 16:49:26 +05:30
openai/openai_prompts fix: search faqs in account language (#13428) 2026-02-09 17:25:11 +05:30
slack fix(slack): handle archived channel errors in SendOnSlackJob (#13520) 2026-02-11 17:05:44 -08:00
bot_processor_service.rb feat: Implement UI for Agent Bots in settings and remove CSML support (#11276) 2025-04-16 18:02:49 +05:30
llm_base_service.rb feat: new Captain Editor (#13235) 2026-01-21 13:39:07 +05:30
llm_instrumentation_completion_helpers.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
llm_instrumentation_constants.rb feat: Instrument captain (#12949) 2025-11-28 15:12:55 +05:30
llm_instrumentation_helpers.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
llm_instrumentation_spans.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
llm_instrumentation.rb fix: double counting in langfuse instrumentation (#13202) 2026-01-13 18:52:38 +05:30