Skip to content

fix: relax Android snapshot helper session timeout#796

Merged
thymikee merged 2 commits into
mainfrom
fix/android-maestro-react-navigation
Jun 12, 2026
Merged

fix: relax Android snapshot helper session timeout#796
thymikee merged 2 commits into
mainfrom
fix/android-maestro-react-navigation

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Relaxes the Android persistent snapshot helper session request budget so delayed-but-successful UIAutomator captures do not time out early and fall back to slower one-shot instrumentation. Adds a regression test for delayed session responses. Touched-file count: 2. Scope is Android snapshot helper only; this is separate from replay progress PR #795.

Validation

Verified with focused Android snapshot helper tests, check:quick, and a live Android emulator run against the React Navigation Maestro suite. On Pixel_9_Pro_XL_API_37 / emulator-5554, the patched drawer+screen-layout pair passed 2/2, and the full patched React Navigation Android suite passed 38/38 in 396.5s. The drawer flow improved from the earlier failed/slow state; remaining drawer cost is Android accessibility capture on that screen, not helper fallback.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.3 MB 1.3 MB +29 B
JS gzip 410.0 kB 410.0 kB +9 B
npm tarball 543.1 kB 543.1 kB +4 B
npm unpacked 1.8 MB 1.8 MB +29 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 28.0 ms 27.6 ms -0.4 ms
CLI --help 53.6 ms 54.2 ms +0.6 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/221.js +29 B +9 B

@thymikee thymikee merged commit dd5c0be into main Jun 12, 2026
19 checks passed
@thymikee thymikee deleted the fix/android-maestro-react-navigation branch June 12, 2026 18:51
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-12 18:51 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant