refactor(android): drop the dead scope-level adb server port lane (review follow-ups)
Merged
TH
2mo ago+131+131+012345678901234567890123456789-692-692-012345678901234567890123456789
Summary
Review follow-ups from #3370 and #3372 that missed the stack merge:
- Drop the scope-level Android adb server-port lane. #3372 deleted its only producer (
managed-device-reachability.ts).withAndroidAdbProvider's scoped host transport and the construction-timeserverPortoncreateLocalAndroidAdbProvider,createDeviceAdbExecutor, the serial executor and the spawner are removed, with their scope-only tests. A port now reaches adb only through the per-callAndroidAdbExecutorOptions.serverPort, which keeps its coverage.androidAdbSerialTarget(an internal mechanics facet) loses its port parameter, and port reverse, which has no per-call port, can no longer target a private server; nothing produced that. - ADR 0021 §3: the
agent-device/android-adbfunctions run the caller's own executor, so the per-callserverPorttakes effect only when that executor honors it. - Fallow: the per-symbol
scripts/ignoreExportsentries are dropped, since the production config'signoreFindings: ["scripts/**"]already covers them (#3370 review). The basecheck:fallowdoesn't need them either. - Rewraps the
device-claim-rule.tsdoc comment.
9 files, +131/−692.
Validation
Tested e37d01ca7 on main c2c09d476: pnpm check:affected --run passed (all runnable checks). Android: 115 files / 1,017 tests. check:fallow and check:production-exports pass on fallow 3.32. Dead-path removal, so no live device run applies.
🤖 Generated with Claude Code