Repository navigation
补齐多开实例停止回执与终态恢复闭环 - #2784
Open
130040167 wants to merge 12 commits into
Open
补齐多开实例停止回执与终态恢复闭环#2784130040167 wants to merge 12 commits into
130040167 wants to merge 12 commits into
Conversation
Contributor
Author
|
Windows 检查失败已定位到 当前提交的 Windows artifacts 与 macOS DMG (universal) CI 均已通过,本 PR 已进入正式审核。合入仍依赖 #2735 的停止安全边界;macOS 进程核验与自然退出资源释放时序尚需实机验证,完整桌面重启和管理器更新续接不作为已验证结论。 当前提交 manager 库测试 |
130040167
marked this pull request as ready for review
October 29, 2026 20:40
This branch has not been deployed
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.
依赖 #2735 的进程停止边界。该 PR 使用其分支作为祖先,上游合入 #2735 前,GitHub 对 main 的差异会同时显示祖先改动;生命周期改动从 c55f53b 之后开始。本 PR 请求独立审核,合入时需要先处理 #2735 的依赖,并核验下述 macOS 运行行为边界。
现象与原因
多开实例正常关闭或执行结束操作后,启动回执仍可能停在 ready。若列表只依赖停止回执判断终态,已关闭的实例会一直显示为 unknown;仅增加读取端校准无法解决问题。旧回执或迟到的 ready 写入也可能覆盖新一代实例或已完成清理的状态。
实现
验证
multi_19 项、stopped_receipt4 项及 coremulti_worker20 项通过,1 项 fixture 入口按设计忽略;TypeScript、前端生产构建、管理器 debug 构建及 git diff --check 通过。3b34289b构建的隔离桌面程序实测:多开页点击结束后产生同代 stopped 回执、清空 PID、隐藏列表项,页面重载后不复现。该场景的受管进程与端口收尾通过,原有实例身份未变。当前 head 相对此提交仅调整平台 cfg。macOS 特有进程核验、完整桌面重启与管理器更新续接尚未实机验证。合成记录与单元测试不替代这些验证。