Commit 0b80def
committed
refactor: route application lifecycle through runtime facts
Moves the canonical `open`, `prepare`, `close` and internal `runtime` descriptors
behind package-owned lifecycle bindings admitted from device runtime facts, while
daemon request/session policy and public response construction stay put.
Based on main, which already carries the boot unit, the parametrized cutover gate
and the apps unit. Readiness is package-owned there, so the Apple and Android
bindings call ensureAppleReady/ensureAndroidReady rather than a root readiness
bag; ensureAppleReady gained an onColdBootStart hook so open keeps warming the
runner cache in parallel with a cold boot, and a narrow markBooted port publishes
readiness' fresh observation so a flow still makes one simctl listing.
Cutover rows take R24-R27, clear of the accepted catalog and the sibling install
stack, and cutoverTableDefects rejects a duplicate rule id.
Two defects this unit introduced are fixed here rather than shipped:
`open <app> <url>` dropped the URL on a first open, and test-IME activation was
first fatal on an unobtainable helper and then over-caught. Helper unavailability
is a typed non-activation outcome now; fence, lock and post-record failures
propagate.
The duplication the unit had accumulated is gone: one runtime-admission module
instead of five per-command copies, one direct-lifecycle binding factory instead
of six hand-rolled packages, one transport-hint predicate, one session
finalization path, and no identity-wrapper module.1 parent c7565cb commit 0b80def
203 files changed
Lines changed: 14076 additions & 5954 deletions
File tree
- packages
- capture-kit/src
- contracts/src
- facades
- platform-android/src
- network
- readiness
- platform-apple/src
- network
- readiness
- platform-harmonyos/src
- platform-linux
- src
- platform-vega
- src
- platform-web/src
- provider-limrun/src
- provider-webdriver/src
- scripts
- layering
- lib
- src
- __tests__
- test-utils
- core
- __tests__
- command-descriptor
- __tests__
- daemon
- __tests__
- handlers
- __tests__
- server
- platforms
- android
- __tests__
- vega
- __tests__
- utils/__tests__
- test/integration
- android-emulator-e2e
- provider-scenarios
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 29 | | |
Lines changed: 0 additions & 79 deletions
This file was deleted.
0 commit comments