Repository navigation
Conversation
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.
变更
Refs #237、#238、#239:同一 already-running 分支根因,集中在一个 PR。
桌面端当前只在本次启动了 fallback 时设置 transientRuntime;重新打开 App 并附加到已有 fallback 后,状态丢失,退出时误将临时进程按后台服务保留。
用户影响
此版本创建的临时 fallback 在后续 App 附加后仍能随退出停止;managed 服务保持后台运行。旧 receipt 的生命周期无法安全推断,因此不承诺修复已运行的旧版未标记进程。
验证
测试均通过 scripts/run-tests-isolated.sh 运行。
隐私与安全
回滚
撤销本提交即可。旧 reader 忽略未知 receipt 字段。
AI 辅助:Codex 参与排查、实现、测试和代码审查。