Repository navigation
fix(composer): Stop 历史读取跨过导航时只结束所属会话 - #2384
Merged
Merged
Conversation
停止期间读取历史可能跨过导航。提前返回时清除原会话已确认停止的运行状态,最终写入按会话身份保护当前正文与运行标记。 Refs vastsa#1990
Owner
|
独立确认旧主线两条导航回归失败、候选通过。#2383 落地后非破坏性合入最新 main aa35fee,并仅合并两份文档冲突中的双方内容,保留全部作者代码;已推送 head 7a4588f。该集成上相关 Stop 回归 15/15,两个真实 Electron 专项(stop-navigation-running-state/native-stop-refresh-failure)通过;生产 store/Toolbar、受控外部 API,非完整 bootstrap。当前文档/基线/Rust/macOS 与 Windows Host 检查通过;JS 单元测试和 trusted extensions E2E 仍在运行。暂不批准/合入,待最新 head 全部检查完成并复核实际 merge tree。 |
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.
停止期间读取历史可能跨过导航。提前返回时清除原会话已确认停止的运行状态,最终写入按会话身份保护当前正文与运行标记。
修复后的效果:Composer Stop 完成仅影响发起停止的会话。停止读取历史期间切换到另一个运行会话时,保留当前会话的 Stop 按钮、正文及运行标记;原会话清除其运行标记并释放匹配的已提交草稿。
主要生产文件:apps/desktop/src/stores/slices/transcript-slice.ts。新增生产入口回归与专项 Electron 检查,并按当前主线的英文技术文档规则更新规格和 E2E domain catalog。
旧代码停止期间切换会话留下原会话仍运行;同步导航跨过最终写入还把新会话 isRunning 清掉。两条回归旧代码失败、修复后通过。相关停止/智能停止/历史变更/terminal 回归 57/57,通过最后新增两条回归及生产 Electron 工具栏验证;目标会话停止,另一个会话正文和 Stop 按钮保持。
Desktop 原始
tsc -p apps/desktop/tsconfig.json --noEmit、样式和 diff 检查通过。宿主旧 workspace 产物缺少最新字段,已在任务树独立重建 shared/agent-host 并链接,未改共享依赖;缺少的 Markdown/CJK 包按锁文件版本及 SHA-512 校验下载到任务缓存。文档检查通过;store 文件不在 Biome includes,不声称该区域运行 Biome。候选 cd1208a,基线 2cf29f0;Node D:/pi/toolchain/node.exe。专项 Electron 使用实际 BrowserWindow、生产 store/组件和受控外部 API、独立临时 profile,无真实用户配置、真实远端、付费 provider。专项测试不是完整应用 bootstrap E2E,后者未运行。
Refs #1990。只修复与该反馈相关的确定路径,未声称全部根因已解决。等待最新 head CI 和人工评审,不合并或发布。
2026-11-16 23:40 复查:上述最新 head 六项 CI 全部 SUCCESS,无 pending、无失败。主线仍为 2cf29f0,无冲突,GitHub merge-ref 源码树再次逐项核对与本地已验证候选相同。当前等待人工评审,尚未批准或合并。