Repository navigation
test: emulator CI for debug demo and LOCAL launchers - #14
Closed
scrimshawlife-ctrl wants to merge 3 commits into
Closed
scrimshawlife-ctrl wants to merge 3 commits into
scrimshawlife-ctrl wants to merge 3 commits into
Conversation
Adds a KVM Linux emulator job with disk cleanup and large userdata partition, plus androidTestDebug Espresso/Compose journeys for DemoRoot and LocalRoot (10.0.2.2 Worker via npm run dev:demo). Keeps the existing contract job unchanged. Code drafted by DeepSeek 4.1 Flash via OpenRouter.
Emulator 37 rejects -disk-size in emulator-options ("unknown option"),
so the AVD never booted. Keep reactivecircus disk-size input and
-partition-size for userdata space.
assertExists and onAllNodes need the SemanticsNodeInteraction / SemanticsNodeInteractionCollection imports. One OpenRouter fix round after CI compile failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emulator CI for debug demo launchers (draft)
What it does
Adds a GitHub-hosted Linux emulator job that runs instrumented Compose tests for both debug-only demo launchers introduced on
demo-data-mode:DemoRootActivity/DemoSuasApi(no network)LocalRootActivityagainst a host Worker athttp://10.0.2.2:3000Each journey signs in with the synthetic demo account
veteran@example.invalid/ code246810(from suas demo seed /contract/demo-fixtures.json) and walks the seeded service screens.Test sources live only under
app/src/androidTestDebug/(debug instrumented). Existingcontractjob name and jobs are unchanged.Triggers
.github/workflows/ci.yml— new jobdemo-launchersruns onpull_request(alongside existing contract job). Manual re-run via Actions UI on the workflow run.Secrets / accounts
scrimshawlife-ctrl/suas@main, runsnpm run dev:demofor the LOCAL path. DefaultGITHUB_TOKENis enough (suas is public).Emulator hardening
Not enough space to create userdata partitiondisk-size: 4096Mplus-partition-size 4096 -disk-size 4096Mon the emulatorWhat ran vs what did not
npm run verifyon Android in this draft environment.Attribution
Code drafted by DeepSeek 4.1 Flash via OpenRouter (Grok Bot applied glue: disk-size / token expression / Node 22).
Gate
Do not merge without Danny's yes.