mirror of https://github.com/openclaw/openclaw.git
* fix(slack): remove message.channels/message.groups handlers that crash Bolt 4.6 Bolt 4.6 rejects app.event() calls with event names starting with "message." (e.g. "message.channels", "message.groups"), throwing AppInitializationError on startup. These handlers were added in #31701 based on the incorrect assumption that Slack dispatches typed event names to Bolt. In reality, Slack always delivers events with type:"message" regardless of the Event Subscription name; the channel_type field distinguishes the source. The generic app.event("message") handler already receives all channel, group, IM, and MPIM messages. The additional typed handlers were unreachable even if Bolt allowed them, since no event payload ever carries type:"message.channels". This preserves the handleIncomingMessageEvent refactor from #31701 (extracting the handler into a named function) while removing only the broken registrations. Fixes the Slack provider crash loop affecting all accounts on @slack/bolt >= 4.6.0. Closes #31674 (original issue was not caused by missing handlers) * fix: document Slack Bolt 4.6 startup handler fix (#32033) (thanks @mahopan) --------- Co-authored-by: Peter Steinberger <steipete@gmail.com> |
||
|---|---|---|
| .. | ||
| http | ||
| monitor | ||
| accounts.test.ts | ||
| accounts.ts | ||
| actions.blocks.test.ts | ||
| actions.download-file.test.ts | ||
| actions.read.test.ts | ||
| actions.ts | ||
| blocks-fallback.test.ts | ||
| blocks-fallback.ts | ||
| blocks-input.test.ts | ||
| blocks-input.ts | ||
| blocks.test-helpers.ts | ||
| channel-migration.test.ts | ||
| channel-migration.ts | ||
| client.test.ts | ||
| client.ts | ||
| directory-live.ts | ||
| draft-stream.test.ts | ||
| draft-stream.ts | ||
| format.test.ts | ||
| format.ts | ||
| index.ts | ||
| message-actions.test.ts | ||
| message-actions.ts | ||
| modal-metadata.test.ts | ||
| modal-metadata.ts | ||
| monitor.test-helpers.ts | ||
| monitor.test.ts | ||
| monitor.threading.missing-thread-ts.test.ts | ||
| monitor.tool-result.test.ts | ||
| monitor.ts | ||
| probe.ts | ||
| resolve-channels.test.ts | ||
| resolve-channels.ts | ||
| resolve-users.ts | ||
| scopes.ts | ||
| send.blocks.test.ts | ||
| send.ts | ||
| send.upload.test.ts | ||
| sent-thread-cache.test.ts | ||
| sent-thread-cache.ts | ||
| stream-mode.test.ts | ||
| stream-mode.ts | ||
| streaming.ts | ||
| targets.test.ts | ||
| targets.ts | ||
| threading-tool-context.test.ts | ||
| threading-tool-context.ts | ||
| threading.test.ts | ||
| threading.ts | ||
| token.ts | ||
| types.ts | ||