Repository navigation
fix(lark): 话题内 /close 后在最新处补发关闭卡片 - #3240
Merged
Merged
Conversation
话题会话 /close 时,原流式卡片会被原地改写为「会话已关闭」,但它常在 /close 上方若干条消息之外,最新处没有任何反馈,用户会误以为没生效而 重复 /close(再次触发会新建空会话并立即关闭)。 现在原卡片照常冻结为关闭态,同时与 chat scope 一致,在 /close 处回复 一张关闭卡片。closeSession 的 closedCardPatchQueued 字段随之没有消费 方,一并移除。 Closes deepcoldy#3239 Co-Authored-By: Claude Opus 5.5 <[email protected]>
ceilf6
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 9, 2026 06:21
This was referenced Nov 9, 2026
Owner
|
感谢贡献,已 squash 合入 master。 这个修复让话题会话 两条非阻塞 follow-up 已登记:
这是自动评审的初步意见,最终以维护者审阅为准。欢迎继续贡献。 |
This was referenced Nov 9, 2026
|
@ceilf6 @deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。 这次运行覆盖 c53afd0…af0f83d7f(7 个提交),同批合入的还有 #3244 #3236 #3243 #2843 #3246 #3247,失败不一定由本 PR 引起。
|
This was referenced Nov 9, 2026
|
🚀 Released in v3.59.0 |
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.
Closes #3239
改动
话题会话
/close后,原流式卡片照常冻结为「会话已关闭」,同时在/close处回复一张关闭卡片,与 chat scope「改写原卡片 + 给操作者确认」的行为一致。原卡片常在上方若干条消息之外,只改写它时最新处没有反馈,用户会误以为没生效而重复/close。closeSession返回值里的closedCardPatchQueued只服务于原来的跳过判断,改后没有消费方,一并移除。范围
只改默认(非 durable-primary)路径的
/close命令。durable-primary 下纯文本/close走durable-lark-session-control-runtime的控制事件,同样只改写原卡片,本 PR 未改动。验证
test/close-command-card-delivery.test.ts:thread scope 有实时卡时,断言原卡片 PATCH 一次、/close处回复一次;PATCH 排在在途更新后面时同样只回复一次。/close的单测文件(16 个):2187 通过。test/daemon-rename-route.test.ts的 2 条/queue用例失败,在未改动的 master 上同样失败,与本改动无关。bun run typecheck通过。🤖 Generated with Claude Code