feat: verify device cloud connections - #1564
Conversation
|
Size Report
Startup median (7 runs, lower is better):
Top changed chunks:
|
|
Reviewed exact head
The production design otherwise looks coherent and preserves lazy allocation: AWS and BrowserStack verification are read-only, Limrun lists without creating an instance, and state is written only after verification. Real no-allocation evidence exists for AWS and Limrun; BrowserStack practical evidence remains a residual risk unless added. |
|
Re-reviewed exact head
The read-only verification design and lazy-allocation behavior otherwise remain coherent. Real BrowserStack no-allocation evidence remains residual risk. |
|
Addressed on current head
The later follow-up also makes older |
|
Re-reviewed exact head One code finding remains: the Real BrowserStack no-allocation evidence also remains a readiness residual. |
|
Addressed the remaining review point: cloud connect now uses neutral public service wording, with regression coverage for both human and JSON output. I also tightened the local pre-push gate: affected Vitest runs once with LCOV, the changed-line coverage gate consumes that result, and full unit/provider/global coverage matrices remain CI-owned. The optimized affected gate passed (1064 affected tests; changed-line coverage 90.65%; fallow clean) and the branch is pushed. |
|
Re-reviewed exact head Not fully merge-ready yet: attach real BrowserStack verification/no-allocation evidence for the changed path. AWS and Limrun evidence is already present. Android and iOS smoke checks are also still running; all completed checks are green. |
|
Real BrowserStack verification completed against head Command shape:
No |
|
Addressed the tightening review in
The focused connect/conformance tests, typecheck, fallow, and the full affected local gate pass (1064 affected tests; changed-line coverage 90.09%). The refactor removes 15 net production/test-fixture lines and, more importantly, adding another direct provider no longer requires a second presentation registry. Built JS raw is effectively flat versus the prior head (+65 B). |
Summary
Validate BrowserStack, AWS Device Farm, and Limrun access during
connectwithout allocating a device or provider session.disconnectlocal instead of waking a daemonExample flows:
This touches 20 files across the connect command, provider adapters, tests, and docs. The scope expands from connect messaging into provider-owned read-only verification and connect-only cleanup so the experience is consistent end to end.
Validation
pnpm check:affected --run(format, lint, typecheck, layering, fallow, build; 115 test files and 939 tests passed)connectconnectdisconnectcreated no daemon metadata or provider resource