fix: pass rootId to streaming card in Feishu topic groups#28346
Merged
Takhoffman merged 3 commits intoopenclaw:mainfrom Feb 28, 2026
Merged
fix: pass rootId to streaming card in Feishu topic groups#28346Takhoffman merged 3 commits intoopenclaw:mainfrom
Takhoffman merged 3 commits intoopenclaw:mainfrom
Conversation
Contributor
Greptile SummaryCorrectly threads Confidence Score: 5/5
Last reviewed commit: 437830e |
When replying in a Feishu topic group, the streaming card message was created without root_id, causing it to spawn a new topic instead of replying under the original one. Thread rootId through bot.ts → reply-dispatcher.ts → streaming-card.ts so that im.message.create includes root_id for topic-scoped replies. Closes openclaw#28273 Made-with: Cursor
4da3b8d to
2290224
Compare
Contributor
|
PR #28346 - fix: pass rootId to streaming card in Feishu topic groups (#28346) Merged via squash.
Thanks @Sid-Qin! |
Contributor
|
Correction: the merge commit SHA is 4221b5f. |
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 5dd2a37)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 5dd2a37)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 5dd2a37)
vincentkoc
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
vincentkoc
pushed a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
newtontech
pushed a commit
to newtontech/openclaw-fork
that referenced
this pull request
Feb 28, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Mar 1, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Mar 1, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
6 tasks
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 4221b5f) # Conflicts: # extensions/feishu/src/bot.ts # extensions/feishu/src/reply-dispatcher.test.ts # extensions/feishu/src/reply-dispatcher.ts # extensions/feishu/src/streaming-card.ts # scripts/check-no-raw-channel-fetch.mjs
ansh
pushed a commit
to vibecode/openclaw
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
safzanpirani
pushed a commit
to safzanpirani/clawdbot
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
venjiang
pushed a commit
to venjiang/openclaw
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Mar 2, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 4221b5f) # Conflicts: # extensions/feishu/src/bot.ts # extensions/feishu/src/reply-dispatcher.test.ts # extensions/feishu/src/reply-dispatcher.ts # extensions/feishu/src/streaming-card.ts # scripts/check-no-raw-channel-fetch.mjs
dorgonman
pushed a commit
to kanohorizonia/openclaw
that referenced
this pull request
Mar 3, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
sachinkundu
pushed a commit
to sachinkundu/openclaw
that referenced
this pull request
Mar 6, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
alexey-pelykh
pushed a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 15, 2026
…8346) thanks @Sid-Qin Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 4221b5f)
alexey-pelykh
added a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 15, 2026
…8346) thanks @Sid-Qin (#1459) Verified: - pnpm check - pnpm test extensions/feishu/src/reply-dispatcher.test.ts (cherry picked from commit 4221b5f) Co-authored-by: Sid <[email protected]> Co-authored-by: Sid-Qin <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
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
rootIdthrough the entire reply chain:bot.ts(hasctx.rootId) →reply-dispatcher.ts(newrootIdparam) →streaming-card.ts(root_idinim.message.createpayload).client.im.message.reply()is unaffected (it already handles topic threading implicitly).Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Streaming card replies in Feishu topic groups now appear under the original topic instead of creating new topics.
Security Impact (required)
im.message.createAPI, just addingroot_idfieldEvidence
npx vitest run extensions/feishu/— 64/64 passednpx oxfmt --check— cleanHuman Verification (required)
root_idis correctly threaded through all three files;root_idis only included when non-null (conditional spread)Compatibility / Migration
root_idis optional in Feishu API; omitting it (non-topic chats) is unchangedFailure Recovery (if this breaks)
Risks and Mitigations
root_idis spread conditionally (...(rootId ? { root_id: rootId } : undefined)), so non-topic group chats and DM chats are completely unaffected.