Repository navigation
fix(doubao): 补齐重写回执与旧隔离状态的恢复边界 - #3697
Merged
Merged
Conversation
- assignment.md 缩小时不再把历史同文请求当成新回执\n- 多行草稿读取 continuation rows,避免误判空输入框解除隔离\n- 旧 parked state 缺少精确 owner 时暂停 FIFO expiry,不按队列顺序猜测\n- 补 wrapped exact-input、日志缩短复用 offset 与对应恢复回归\n\nCo-Authored-By: Claude Code <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
November 21, 2026 15:19
|
🚀 Released in v3.59.27 |
This was referenced Nov 27, 2026
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.
背景
#3691 已合并到 master(
894b76513)。后续对抗探针又覆盖了日志重写、旧 driver state 与多行草稿三类边界,发现合并内容仍有以下恢复缺口。本 PR 只追加这些修复,不改写 #3691 历史。改动
assignment.md缩小到 pre-write baseline 之前时,不再从 offset 0 重扫历史;旧同文请求不能冒充本次提交回执。doubaoComposerState读取❯行后的缩进 continuation rows。首视觉行为空、后续行仍有正文时不再误判empty,避免连续空屏检查错误解除 quarantine。turnId/dispatchAttempt时,暂停 later-receipt 的 FIFO expiry;不再按队列顺序猜 owner,防止 A 在前、实际 B parked 时误删 B。新 state 仍按精确 owner 清理其它死轮次。影响面
验证
bun run build:通过(最新 master894b76513基线)。test/worker-doubao-late-start.integration.test.ts:12/12。test/test-hygiene.test.ts+test/submit-unconfirmed-wording.test.ts:41/41。🤖 Generated with Claude Code