Clear the app before every on-device run, as !122 said it did #151

Merged
paulhitt merged 1 commits from fix/instrumented-script-reaches-main into main 2026-09-11 16:21:46 +00:00
paulhitt commented 2026-09-11 16:16:47 +00:00 (Migrated from gitlab.com)

!122 described this change and did not contain it. Its commit carries only SignUpFlowTest.kt; the script edit stayed in the working tree, because the file is tracked as scripts/ and was staged as Scripts/, which is the same file on a case-insensitive disk. The on-device run that passed used the uncommitted script, so the pass was real but main never had the fix behind it.

The change is unchanged from what !122 described: the uninstall ran only when the emulator was already up, on the reasoning that a cold boot starts clean. A cold boot starts with no snapshot; the disk image keeps what was installed. An AVD used to try a release build kept it, and the debug test APK could not install over it (INSTALL_FAILED_UPDATE_INCOMPATIBLE, zero tests run). It now clears on both paths and refuses to continue if anything survives.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

🤖 Generated with Claude Code

!122 described this change and did not contain it. Its commit carries only `SignUpFlowTest.kt`; the script edit stayed in the working tree, because the file is tracked as `scripts/` and was staged as `Scripts/`, which is the same file on a case-insensitive disk. The on-device run that passed used the uncommitted script, so the pass was real but `main` never had the fix behind it. The change is unchanged from what !122 described: the uninstall ran only when the emulator was already up, on the reasoning that a cold boot starts clean. A cold boot starts with no *snapshot*; the disk image keeps what was installed. An AVD used to try a release build kept it, and the debug test APK could not install over it (`INSTALL_FAILED_UPDATE_INCOMPATIBLE`, zero tests run). It now clears on both paths and refuses to continue if anything survives. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
paulhitt commented 2026-09-11 16:16:48 +00:00 (Migrated from gitlab.com)

mentioned in merge request !122

mentioned in merge request !122
paulhitt commented 2026-09-11 16:16:48 +00:00 (Migrated from gitlab.com)

mentioned in issue #21

mentioned in issue #21
paulhitt (Migrated from gitlab.com) merged commit f6506292e7 into main 2026-09-11 16:21:47 +00:00
paulhitt commented 2026-09-11 16:21:49 +00:00 (Migrated from gitlab.com)

mentioned in commit f6506292e7

mentioned in commit f6506292e708e29b668e43becb5177778528ab14
Sign in to join this conversation.