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:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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
流式消息每个 chunk 覆盖前一个,最终只剩最后一个字符
Steps to reproduce
飞书渠道全部用户
Expected behavior
channels.feishu.streaming = false
Actual behavior
用 patch API 增量更新卡片内容
OpenClaw version
2026.6.1
Operating system
Ubuntu24.04
Install method
npm global
Model
Qwen 3.6
Provider / routing chain
openclaw->Qwen3.6
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:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.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 4, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 4, 2026, 12:57 AM ET / 04:57 UTC.
Summary
Keep open: current main still strips Feishu streaming-card updates down to suffix content before sending the CardKit update request, and the shipped v2026.6.1 tests still assert that suffix-only payload shape, so the reported last-character overwrite remains actionable.
Reproducibility: yes. for source reproduction: current main turns cumulative Feishu stream text into suffix-only CardKit update payloads, which matches the reported overwrite symptom. I did not run a live Feishu tenant scenario, so this is not marked as fully reproduced.
Next step
This is a narrow, source-reproducible bundled Feishu channel regression with clear likely files and focused tests.
Review details
Best possible solution:
Align the Feishu streaming-card update call with the CardKit contract so each visible card update preserves cumulative reply text, then update the suffix-only regression tests accordingly without disabling streaming by default.
Do we have a high-confidence way to reproduce the issue?
Yes for source reproduction: current main turns cumulative Feishu stream text into suffix-only CardKit update payloads, which matches the reported overwrite symptom. I did not run a live Feishu tenant scenario, so this is not marked as fully reproduced.
Is this the best way to solve the issue?
Yes, the best fix is a narrow Feishu plugin repair that makes streaming-card updates preserve cumulative visible content. Adding a new config switch or making users set
channels.feishu.streaming=falsewould be a workaround, not the right product fix.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 68307afb5b0d.
Label changes
Label justifications:
P1: A released Feishu channel regression can visibly drop streamed assistant reply content for affected users.impact:message-loss: The failure mode is streamed message content being overwritten during Feishu delivery, leaving only the final chunk visible.Evidence reviewed
Acceptance criteria:
What I checked:
appendContentfrom the previously sent text and sends that suffix toupdateCardContent, which matches the reported overwrite failure if the update endpoint replaces element content. (extensions/feishu/src/streaming-card.ts:480, 68307afb5b0d)updateCardContentsends aPUTrequest to the card element content URL withcontent: text, so the important behavior question is whether that call receives the complete current card text or only the latest suffix. (extensions/feishu/src/streaming-card.ts:360, 68307afb5b0d)streaming.update, so the suffix-only payload is introduced inside the streaming-card session rather than by the channel dispatcher. (extensions/feishu/src/reply-dispatcher.ts:287, 68307afb5b0d)hello->hello smallto contain only" small", confirming current coverage does not protect full visible content for replacement-style updates. (extensions/feishu/src/streaming-card.test.ts:181, 68307afb5b0d)extensions/feishu/src/streaming-card.test.ts:181, 2e08f0f4221f)Likely related people:
extensions/feishu/src/streaming-card.ts,extensions/feishu/src/reply-dispatcher.ts)extensions/feishu/src/streaming-card.ts,extensions/feishu/src/streaming-card.test.ts)extensions/feishu/src/streaming-card.ts,extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/streaming-card.test.ts)extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/streaming-card.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.