You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "somewan820 (via GitHub)" <gi...@apache.org> on 2026/09/23 03:48:46 UTC
[PR] fix(desktop): wait for initial Runtime Host scope readiness [maka]
somewan820 opened a new pull request, #5609:
URL: https://github.com/apache/maka/pull/5609
## Summary
Fix the initial connecting scoped Runtime Host race:
```text
runtime-host:identities
-> provisional { hostId, targetEpoch }
-> wait for targetEpoch lifecycle startup
-> wait for candidate readiness
-> validate candidate hostId and epoch
-> dispatch scoped IPC
```
`waitUntilReadyForScope` now resolves a target by generation epoch while its candidate is still registering, then performs the existing identity fence after readiness. Initial startup, Local retry, and remote enable paths expose their lifecycle startup promise. A regression test covers an existing scoped call during the connecting phase.
## Evidence
- **Before:** the new regression scenario failed with `Runtime Host target is unavailable` while the initial candidate was still connecting.
- **After:** 59 `runtime-host-desktop-manager` tests pass, including the new connecting-generation case.
- Biome check and `git diff --check` pass.
- Full `build:main` remains blocked by existing main-branch type errors in `WorkspacePickerModel`, `@maka/core/refresh-read-coordinator`, and `WorkbarTogglePosition`.
## Merge Danger
**Door:** two-way
The change only delays scoped dispatch until the matching Runtime Host generation is ready and keeps the existing post-wait identity validation.
**Blast Radius:** desktop IPC
Only scoped Runtime Host readiness and its manager tests are affected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [PR] fix(desktop): wait for initial Runtime Host scope readiness [maka]
Posted by "somewan820 (via GitHub)" <gi...@apache.org>.
somewan820 closed pull request #5609: fix(desktop): wait for initial Runtime Host scope readiness
URL: https://github.com/apache/maka/pull/5609
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org