Commit Graph
117 Commits
Author SHA1 Message Date
pj be5c3c3e18 test(ioscompanion): cover collapsed-dump detection 2026-06-07 11:46:09 +05:30
pj a745ec7938 fix(ioscompanion): retry describe past transient collapsed accessibility dumps 2026-06-07 11:46:09 +05:30
pj 8b7a51c5b5 test(ioscompanion): cover pasteboard grant on launch, drop warm-up tests 2026-06-07 11:21:49 +05:30
pj a0cc3b5d05 refactor(ioscompanion): drop paste warm-up now that the grant suppresses the prompt 2026-06-07 11:21:49 +05:30
pj edd70b661b feat(ioscompanion): pre-grant pasteboard access so unicode input skips the OS prompt 2026-06-07 11:21:49 +05:30
pj 8d38210da9 perf(ioscompanion): tighten settle streak for the fast companion transport 2026-06-07 01:12:04 +05:30
pj a6229afda7 refactor(ioscompanion): name the empty-editable-field sentinel for what it is 2026-06-07 01:12:04 +05:30
pj 622b7c5cc4 fix(ioscompanion): drop unresolved-value settle gate that never let empty-field screens settle 2026-06-07 01:12:04 +05:30
pj 83ef9a2da5 test(ioscompanion): cover bridge-blackout paste verification 2026-06-07 00:56:25 +05:30
pj 3ee26ca56c fix(ioscompanion): verify paste on a time budget that outlasts the bridge blackout 2026-06-07 00:56:25 +05:30
pj 0e6f3e7a7a test(ioscompanion): cover atomic erase, single chord, unverifiable field 2026-06-07 00:39:42 +05:30
pj 432154ee02 fix(ioscompanion): atomic erase and single-send paste to prevent doubling 2026-06-07 00:39:42 +05:30
pj 02d3722820 test(ioscompanion): cover sentinel mapping and masked-field landing 2026-06-07 00:33:27 +05:30
pj 621f1faa26 fix(ioscompanion): accept masked secure-field values as paste landing 2026-06-07 00:33:27 +05:30
pj 8526c491e8 fix(ioscompanion): treat unresolved bridge values as transitional, never as content 2026-06-07 00:33:27 +05:30
pj a15e7a14f9 test(ioscompanion): cover paste threshold, retry flow, and sentinel detection 2026-06-07 00:28:40 +05:30
pj 841497cc30 perf(ioscompanion): paste long text for atomic landing 2026-06-07 00:28:40 +05:30
pj 2e817e3167 fix(ioscompanion): wait out unresolved accessibility values after launch 2026-06-07 00:28:40 +05:30
pj 93b62d4aa5 fix(ioscompanion): reinstall via simctl and sanitize companion env 2026-06-06 23:56:08 +05:30
pj 5ab2991dd0 test(ioscompanion): cover install payload chunking 2026-06-06 23:53:38 +05:30
pj f3d3068f4f fix(ioscompanion): chunk install payload under companion message cap 2026-06-06 23:53:38 +05:30
pj 4d72be80d6 test(ioscompanion): prove companion child outlives startup context 2026-06-06 23:51:53 +05:30
pj 8fb7dd9f89 fix(ioscompanion): spawn companion under driver-lifetime context 2026-06-06 23:51:53 +05:30
pj 34cfba4221 style: gofmt struct alignment drift 2026-06-06 23:45:13 +05:30
pj 20dab0ae2f refactor(testrun): defer the java preflight check to the physical-device path 2026-06-06 23:45:13 +05:30
pj 75d4294601 feat(testrun): route iOS simulators through the native companion driver 2026-06-06 23:45:13 +05:30
pj 966aeba6c0 feat(ios): add ResolveTarget for simulator vs physical-device routing 2026-06-06 23:45:13 +05:30
pj 6a5ea5fb83 test(ioscompanion): gated companion smoke test 2026-06-06 23:45:13 +05:30
pj 2bb2bdb2f7 test(ioscompanion): unit tests with fake companion transport 2026-06-06 23:45:12 +05:30
pj 034f8d1308 feat(ioscompanion): implement DeviceDriver with companion supervision 2026-06-06 23:45:12 +05:30
pj f73fc898dd feat(ioscompanion): add Describe to companion transport 2026-06-06 23:45:12 +05:30
pj 222a51cb93 test(ioscompanion): cover input composers, paste dialog loop, and pure helpers 2026-06-06 23:20:03 +05:30
pj c2746610bf feat(ioscompanion): text input and gesture HID composition with pasteboard fallback 2026-06-06 23:20:03 +05:30
pj bc1b71f5e2 test(ioscompanion): add gated simulator integration smoke test 2026-06-06 23:20:03 +05:30
pj 02e4010344 test(ioscompanion): cover Dial, process-state mapping, and install archive 2026-06-06 23:20:03 +05:30
pj d2f39d84a6 test(ioscompanion): cover HID builders and unit conversions 2026-06-06 23:20:03 +05:30
pj c8c405b6b3 feat(ioscompanion): wire gRPC companion client and Dial 2026-06-06 23:20:03 +05:30
pj 9d52b20d89 feat(ioscompanion): add HID event wrapper and builders 2026-06-06 23:20:03 +05:30
pj 0ceddf409c feat(ioscompanion): add transport companion interface 2026-06-06 23:20:03 +05:30
pj 9253a67abc test(ioscompanion): cover keymap branches and paste-chord constants 2026-06-06 23:10:00 +05:30
pj 68affe4a1c feat(ioscompanion): add USB HID keymap module 2026-06-06 23:10:00 +05:30
pj f718ed8a36 test(ioscompanion): cover settle transitional, hash, streak, and cap rules 2026-06-06 23:10:00 +05:30
pj 4e29850747 feat(ioscompanion): port screen-settle stability polling to Go 2026-06-06 23:10:00 +05:30
pj 476f099b2f test(ioscompanion): add hierarchy-map golden and unit tests 2026-06-06 23:10:00 +05:30
pj 7f0f9a2336 feat(ioscompanion): map flat companion describe dump to TreeNode JSON 2026-06-06 23:10:00 +05:30
pj 2c2b9e2e81 feat(ioscompanion): commit generated companion gRPC stubs 2026-06-06 23:10:00 +05:30
pj f67cb8a00c test(ioscompanion): cover companion stub and embedded extraction 2026-06-06 23:09:59 +05:30
pj 6c4f00abad feat(ioscompanion): embed and extract simulator companion bundle 2026-06-06 23:09:59 +05:30
pj 27f7986545 chore(ioscompanion): add companion asset prepare script 2026-06-06 23:09:59 +05:30
pj 94d9511312 test: full test-suite refactor sweep (#61)
* chore(test): start test-suite refactor sweep

* test(ltl): pin exact multi-obligation residual AST

* test(ltl): table-test finalize Kleene connective combinations

* test(ltl): pin reduce over pending inner for bound, Or, Not

* test(ltl): marshal bounded Always steps/duration/deadline

* test(verifier): cover LTL combinator verdict transitions and within unit panic

* test(verifier): table-test DecodeAction kinds and lastAction field exposure

* test(verifier): assert WithPlatform(ios) reaches the picker host and key pool

* test(verifier): widen weighted-selection assertion to a 5x skew margin

* test(verifier): un-skip ax-find round trip with a committed tree fixture

* test(runner): pin isWDADrop to sidecar reconnect-failed message origin

* test(runner): assert PressKey/Wait trace encoding records kind-specific fields

* test(runner): cover RenderSummary unsupported-verbs surfacing branch

* test(trace): set Hierarchy in round-trip and lock lossy Tree contract

Also add a -race concurrent WriteStep test that asserts N well-formed JSONL lines, catching torn lines if the writer mutex is dropped.

* test(trace): round-trip witnesses/changes/metrics/exceptions, pin step-0 witness

* test(trace): document ViolationsAreGreppable grep contract and lock-free WriteScreenshot

* test(hierarchy): cover invalid-JSON and malformed-bounds parser paths

* test(trace): guard writer mutex via WriteStep/Close race on w.file

* test(replay): drop unfailable assets and devproxy assertions

* test(replay): cache reuses on equal mtime, reparses after append

* test(replay): violation marker falls back to detection step when attributed missing

* test(replay): corrupt meta/trace dirs return 500 with error body

* test(replay): SSE client receives runs.changed after a broadcast

* test(replay): Run coalesces creates, ignores write/chmod, closes subs on cancel

* fix(sidecar): synchronize health fixture writes and exercise healthError

* test(sidecar): cover swipe/longpress/doubletap/erase/presskey/metrics/logs translations

* test(sidecar): cover DoubleTapSelector composition and mid-gesture cancel

* test(sidecar): assert gRPC error status surfaces from action RPC

* fix(chrome): route action methods through runCtx so caller cancellation aborts CDP

* fix(chrome): route hierarchy/screenshot/waitidle/metrics through runCtx

* refactor(ios): extract pure simctl JSON parsers

* refactor(ios): add command-runner seams for EnsureSimulator

* test(ios): table-test simctl parsers and EnsureSimulator seams

* test(sidecarassets): cover placeholder build path

* test(sidecarassets): assert reuse via sentinel bytes not mtime

* test(bundler): cover properties-only spec registration

* refactor(testrun): extract prepareBundleInputs from Execute

* test(testrun): cover prepareBundleInputs aliases and missing-runtime error

* test(testrun): table-test resolveRuntimeSibling search edges

* test(testrun): exact-output tests for progressHandler line format

* fix(cmd): point bundle-check aliases at pkg/spec/src

* test(cmd): smoke-test bundle-check resolves spec aliases

* test(cmd): table-test hier-check parse and FindAll on fixture

* test(cmd): unit-test buildBrowseURL deep-link vs root

* test(cmd): drop flaky TestRun_Doctor that launched real Chromium

* test(cmd): pin pipeline error to bundle resolution on web platform

* test(replay-ui): add bun test script

* ci(replay-ui): run bun test via make web-test target

* ci(replay-ui): point bun cache key at replay-ui/bun.lock

* test(replay-ui): exercise real URL encoding and non-ok throw in getJson

* refactor(replay-ui): extract snapshot flatten/getAtPath into lib module

* test(replay-ui): pin snapshot flatten/getAtPath path round-trip

* refactor(replay-ui): extract action selector/format into lib module

* test(replay-ui): pin action selector parse and row formatting

* refactor(replay-ui): share one statusFor between panels

* refactor(replay-ui): extract run-history derivation into lib module

* test(replay-ui): pin shared statusFor precedence and ordering

* test(replay-ui): pin run-history derivation alignment

* refactor(replay-ui): export clampIndex for testing

* refactor(replay-ui): extract keyboard-nav dispatch into pure module

* refactor(replay-ui): extract metrics formatters into lib module

* test(replay-ui): pin clampIndex step boundaries

* test(replay-ui): pin keyboard-nav ownership and key routing

* test(replay-ui): pin metrics formatters and path gap handling

* refactor(sidecar): expose device-output parsers as internal for testing

* test(sidecar): table-test device-output parsers against malformed input

* test(sidecar): cover logcat parsing year inference and line skipping

* test(sidecar): pin pressKey keycode mapping and unknown-key rejection

* test(sidecar): metrics bundleId falls back to launched app and honors override

* test(sidecar): loosen deadline upper bound to tolerate slow CI scheduling

* test(web-runtime): export selector builders for unit tests

* test(web-runtime): guard sanitize cycle, function, and depth limits

* test(web-runtime): table-test selector builder quoting and escaping

* test(sidecar): collapse scalar-forwarding RPC tests into a table

* test(replay-ui): dedup step/summary fixtures into shared module

* test(ios): collapse pickSimulator point-tests into a table
2026-06-06 13:59:08 +05:30