Repository navigation
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Feishu streaming replies only display the latest token instead of accumulating text after upgrading to OpenClaw 6.1.
Steps to reproduce
- Upgrade OpenClaw to version 6.1.
- Enable streaming in the Feishu channel configuration.
- Send a message to the bot in Feishu.
- Observe the streaming reply behavior.
Expected behavior
Streaming replies should progressively append previous tokens, for example:
你
你好
你好啊
Actual behavior
The reply only shows the latest token during streaming, for example:
你
好
啊
instead of progressively accumulating text.
OpenClaw version
2026.6.1
Operating system
macOS 15.6.1
Install method
No response
Model
deepseek-v4-flash
Provider / routing chain
OpenClaw → deepseek provider → deepseek-v4-flash
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jun 9, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 12:34 PM ET / 16:34 UTC.
Summary
Keep this issue open: current main and the latest v2026.6.9 release still replace ordinary Feishu streaming
finalchunks with the latest payload, and the exact linked fix PR is still open and unmerged.Reproducibility: yes. at source level. Current main still reduces ordinary non-error Feishu streaming final chunks to the latest payload and assigns that value as the whole streaming-card buffer.
Root-cause cluster
Relationship:
canonicalCanonical: #91562
Summary: This issue is the narrow Feishu incremental-final latest-token case; it has an open exact fix candidate and partially overlaps broader Feishu streaming-card delivery trackers.
Members:
fixed_by_candidate: fix(feishu): accumulate streamed final delta chunks (#91562) #91698 - The PR uses closing syntax for this exact issue and changes the Feishu final-chunk merge path, but it is open and unmerged.partial_overlap: Feishu streaming card multiple content delivery bugs cause final text loss stale content and duplication #77685 - The open broad tracker covers multiple Feishu streaming-card delivery bugs, including final text loss, but is wider than this exact latest-token report.adjacent_distinct: [feishu] Streaming card sends incremental diff instead of full text to CardKit API #88335 - That closed issue covered suffix-only CardKit content payloads, a related visible text-loss symptom fixed by a different streaming-card API payload change.partial_overlap: [Bug]: Feishu card streaming truncates long responses and error messages overwrite correct replies #91916 - That closed report covered long-response truncation and error-overwrite cases in the same Feishu streaming-card area without replacing this exact final-token issue.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
A linked open PR already owns the implementation path, so ClawSweeper should not queue a separate fix PR from this issue.
Review details
Best possible solution:
Repair, prove, and land or replace the linked Feishu plugin-local final-chunk accumulation PR, while keeping broader streaming-card reliability work on the wider tracker.
Do we have a high-confidence way to reproduce the issue?
Yes, at source level. Current main still reduces ordinary non-error Feishu streaming final chunks to the latest payload and assigns that value as the whole streaming-card buffer.
Is this the best way to solve the issue?
Yes for the issue boundary: the fix belongs in the Feishu streaming-card buffer because that plugin owns CardKit rendering. The linked PR is the right implementation lane, but it still needs review and real behavior proof or maintainer override before merge.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against c2ee9b0be8ae.
Label changes
Label justifications:
P1: This is a user-facing Feishu channel regression where streamed reply text can visibly drop for real users.impact:message-loss: The reported behavior loses earlier streamed reply tokens from the visible Feishu card.Evidence reviewed
What I checked:
AGENTS.md:1, c2ee9b0be8ae)docs/channels/feishu.md. (docs/channels/feishu.md:274, c2ee9b0be8ae)extensions/feishu/src/reply-dispatcher.ts:42, c2ee9b0be8ae)extensions/feishu/src/reply-dispatcher.ts:740, c2ee9b0be8ae)extensions/feishu/src/reply-dispatcher.test.ts:721, c2ee9b0be8ae)extensions/feishu/src/reply-dispatcher.ts:740, c645ec4555c0)Likely related people:
extensions/feishu/package.json)extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/streaming-card.ts)extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/streaming-card.ts,extensions/feishu/src/reply-dispatcher.test.ts)extensions/feishu/src/streaming-card.ts,extensions/feishu/src/streaming-card.test.ts)extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/reply-dispatcher.test.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.steipete-oai commentedon Jul 29, 2026
Thanks @Narlea for the precise token-by-token report and @draix for investigating this in #91698. I rechecked the current
mainsource and the actual DeepSeek → OpenClaw → Feishu callback path, rather than relying on the old bot assessment or synthesizing multiple authoritativefinalevents.DeepSeek’s official streaming contract emits incremental
choices[].delta.contentServer-Sent Events. The current bundled DeepSeek provider uses the shared streaming pipeline; the embedded agent accumulates those provider deltas, and the runner passes partial snapshots to the channel. Feishu’s existing partial callback and snapshot accumulator already render them cumulatively throughmergeStreamingText.I independently executed the unchanged production implementation through the real Feishu dispatcher/CardKit update path with both shapes:
你,好,啊→ visible CardKit updates你,你好,你好啊; authoritative card close你好啊.你,你好,你好啊→ the same cumulative updates and authoritative close.The production blobs I executed were separately checked against live current
mainand matched exactly (reply-dispatcher.ts4344d9c01985,streaming-card.ts086d805a56a9, DeepSeek providerb3a3ead7a60e, runner8e5d8c098f7f, subscriber3e82e995ae13). #91698 is closed and was never merged; I am not claiming it shipped. Its synthetic repeated-finalassumption would also change authoritative snapshot semantics and fails current cumulative-final coverage, so merging a heuristic there would introduce a regression.This is source-backed and exercised CardKit-path proof; I did not use or claim a live Feishu tenant or a live DeepSeek API credential. Closing as completed because the reported DeepSeek streaming route and exact reported visible behavior already work on current
main. If the symptom remains on the latest release, please share the affected version, Feishu streaming configuration, and a redacted provider event trace, and we can reopen for that distinct runtime path.