fix(slack extension): preserve thread IDs for read + outbound delivery#23836
Merged
vincentkoc merged 3 commits intomainfrom Feb 22, 2026
Merged
fix(slack extension): preserve thread IDs for read + outbound delivery#23836vincentkoc merged 3 commits intomainfrom
vincentkoc merged 3 commits intomainfrom
Conversation
This was referenced Feb 22, 2026
This was referenced Feb 22, 2026
1bb96dd to
71a637f
Compare
71a637f to
991da8e
Compare
This was referenced Feb 22, 2026
Closed
Closed
MisterGuy420
pushed a commit
to MisterGuy420/openclaw-dev
that referenced
this pull request
Feb 22, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
dgarson
pushed a commit
to dgarson/clawdbot
that referenced
this pull request
Feb 23, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
18 tasks
carlosrivera
pushed a commit
to myascendai/meshiclaw
that referenced
this pull request
Feb 23, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
gabrielkoo
pushed a commit
to gabrielkoo/openclaw
that referenced
this pull request
Feb 23, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
mreedr
pushed a commit
to mreedr/openclaw-custom
that referenced
this pull request
Feb 24, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
brianleach
pushed a commit
to brianleach/openclaw
that referenced
this pull request
Feb 26, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 26, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
6 tasks
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md (cherry picked from commit 9f7c168) # Conflicts: # CHANGELOG.md # extensions/slack/src/channel.ts
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md (cherry picked from commit 9f7c168) # Conflicts: # CHANGELOG.md # extensions/slack/src/channel.ts
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
openclaw#23836) * Slack Extension: preserve thread IDs in reads and outbound sends * Slack extension: fix threadTs typing and action test context * Update CHANGELOG.md
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
includeReadThreadId: truesomessage readforwardsthreadIdto SlackreadMessagesthreadIdas fallback for outboundthreadTsin bothsendTextandsendMediaWhy
Slack extension behavior diverged from built-in Slack behavior in two places:
threadIdthreadIdand only usedreplyToIdThis caused thread reads to return channel-level results and thread-bound follow-ups to leak to DM/channel root.
Validation
pnpm test -- extensions/slack/src/channel.test.tspnpm exec oxfmt --check extensions/slack/src/channel.ts extensions/slack/src/channel.test.ts CHANGELOG.mdFixes: #22219
Fixes: #22483
Supersedes: #22216, #22485
Greptile Summary
Aligns Slack extension threading behavior with built-in Slack channel by forwarding
threadIdin message reads and using it as a fallback forthread_tsin outbound sends.includeReadThreadId: trueflag inhandleSlackMessageActioncall so thread reads forwardthreadIdtoreadMessagesactionsendTextandsendMediato usethreadIdas fallback forthreadTswhenreplyToIdis not present, matching built-in Slack implementation pattern insrc/channels/plugins/outbound/slack.ts:62-63sendTextandsendMediaConfidence Score: 5/5
Last reviewed commit: 991da8e