Uh oh!
There was an error while loading. Please reload this page.
feat(runtime-host): preserve capability providers across reconnect - #2608
Merged
Conversation
M4n5ter
marked this pull request as ready for review
August 9, 2026 15:00
Uh oh!
There was an error while loading. Please reload this page.
66 tasks
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 freeto 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.
Summary
userDataprofile;The wire registration ID remains an immutable manifest-version identity. Reconnect affinity uses the stable provider identity, so in-flight snapshots can retain their original registration without mutating it in place.
Refs #2522
Verification
npm --workspace @maka/runtime-host test— 797 tests passed;npm --workspace @maka/runtime-host run typecheck;npm exec -- tsc -p apps/desktop/tsconfig.main.json --noEmit;git diff --checkpass for the affected files.Remaining Phase 4 work
简体中文
摘要
userDataprofile 下持久化 Desktop Runtime Host Client 实例身份;wire registration ID 继续表示不可变的 manifest 版本。重连 affinity 使用稳定 provider 身份,因此正在使用的 snapshot 可以继续引用原 registration,不需要原地修改。
关联 #2522
验证
npm --workspace @maka/runtime-host test:797 项测试通过;npm --workspace @maka/runtime-host run typecheck;npm exec -- tsc -p apps/desktop/tsconfig.main.json --noEmit;git diff --check。Phase 4 剩余工作
Checklist
Does this PR entail a change in behavior?