Skip to content

Cold boot emulator CI and preserve failed device diagnostics - #68

Merged
andre487 merged 3 commits into
mainfrom
fix/emulator-adb-startup
Oct 7, 2026
Merged

andre487 merged 3 commits into
mainfrom
fix/emulator-adb-startup

Conversation

@andre487

@andre487 andre487 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Release v1.0.3 finalization correctly stopped when API 26 CI failed before instrumentation: both startup attempts restored the same snapshot and failed on the action’s input command with exit 137. In the fix PR, API 26 passed with cold boot, while API 35 repeatedly disconnected ADB during Logcat collection after two successful tests on a restored snapshot.

Cold boot both APIs with -no-snapshot and remove AVD snapshot caching/generation. Keep KVM acceleration, the existing single startup retry, and the ban on test retries. Update English/Russian documentation and project memory.

The API 35 failure also exposed stale successful JUnit output: failed diagnostics prevented report updates, then cleanup masked the cause. Preserve failed ADB output, record diagnostics failures in JUnit before aborting, and preserve the original error during disposable-emulator cleanup. Diagnostics failures still fail CI.

Validation: actionlint .github/workflows/android-device.yml; bundle exec fastlane android python_checks (51 tests passed; pinned Python tools via PYTHON), including a regression check for failed Logcat and cleanup. Full cold-boot CI passed: https://github.com/andre487/AndroidMegaProxy/actions/runs/37612472017 . Both API 26 and API 35 device jobs passed without the startup retry; native integration, Python, Android JVM/lint/build checks and result publishing also passed.

Once merged, release PR #67 must be rebuilt on current main with its single release commit and full CI, then finalized using its new explicit head. The original finalization run is pinned to the old head/base.

@andre487 andre487 changed the title Cold boot API 26 after snapshot startup failures Cold boot emulator CI and preserve failed device diagnostics Oct 7, 2026
@andre487
andre487 merged commit e7e2a78 into main Oct 7, 2026
16 checks passed
@andre487
andre487 deleted the fix/emulator-adb-startup branch October 7, 2026 11:21
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