Repository navigation
refactor(runtime): use owning hosts at process and adb boundaries - #3828
Conversation
Size Report
Startup median (7 runs, lower is better):
|
|
Re-ran Apple run 39284526276 once: iOS smoke failed before XCTest with prepare_deadline_expired during runner_rebuild (prepare ios-runner timed out); macOS passed and this layer changes no Swift, so this is a suspected runner setup flake pending rerun evidence. |
8c5c1aa to
f1d2bce
Compare
|
Coverage follow-up: |
…ies (#3753) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
f1d2bce to
9a16be1
Compare
|
Second coverage fix: |
|
The code needs one fix before merge: the adb host The getter in src/platform-runtime-android-adb-host.ts now returns Could one I did not run |
Summary
Part of #3753. Part of #3747.
Pass the owning host through root runtime adapters, app-log processes, provider construction, and Limrun dependencies. Standalone released Android shell/exec-out helpers establish a host scope. Required callers and tests touch 19 files (261 gross lines).
Released examples remain valid:
runAndroidShell(device, ["id"])andrunAndroidExecOut(device, ["id"]). These process captures remain until #3759.Third layer, based on #3827. #3823 remains the top gate layer.
Validation
Head
9a16be131286b7535a3b44b245d21cf71d82c140.pnpm check:affected --run --base chore/process-globals-replay --head 9a16be131286b7535a3b44b245d21cf71d82c140passed; receiptrun-MGFRWP,exactCommit=true.Coverage failures were fixture races:
7e2cae20edreplaces a directory-order assumption with explicit files;288e6cceaewaits for bridge evidence contents rather than file creation. Both fixes are inherited by all layers. Upper patches are unchanged by range-diff.Prior full-check and Android daemon/provider evidence stays attributed to
e223d37244in #3823’s review-response comment. This round changes only test fixtures and ancestry. Full coverage and GitHub-owned lanes remain CI obligations.