Skip to content

feat(app): connect to a lab server and set experiments from launch extras - #112

Merged
Tarquinen merged 1 commit into
devfrom
emu-setup
Nov 17, 2026
Merged

Tarquinen merged 1 commit into
devfrom
emu-setup

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Debug builds only. Lets an emulator run reach a connected lab session in one am start instead of pairing by hand.

  • lab-server-url now saves that server as the last-used one, so the launch connects to it. Before, it was only read as a flag.
  • lab-experiments-on / lab-experiments-off take comma-separated experiment names and set those switches.

Why: over two weeks, agents paired the app with session-lab through Enter a Server Manually 54 times, at about nine steps and 2.5 minutes each, and tapped through Settings to flip Experimental switches.

Verified:

  • scripts/check.sh passes; the new test fails without the LabLaunch change.
  • On an API 36 emulator, after pm clear, am start --es lab-server-url http://10.0.2.2:4151 -a android.intent.action.VIEW -d opencode://session/ses_approval_root opens the lab session, connected, in about 5 s with no onboarding.
  • --es lab-experiments-on inbox-sidebar,sound-effects stores both switches.

…tras

Agents testing on an emulator paired the app with session-lab by hand
through Enter a Server Manually (about nine steps and 2.5 minutes each
time) and tapped through Settings to flip Experimental switches.

In debug builds, `lab-server-url` now saves that server as the last-used
one, so the launch connects to it. Until now it was only read as a flag.
`lab-experiments-on` and `lab-experiments-off` take comma-separated
experiment names and set those switches.

Verified: `scripts/check.sh` passes; the new test fails without the
LabLaunch change. On an API 36 emulator, after `pm clear`,
`am start --es lab-server-url http://10.0.2.2:4151 -a VIEW -d
opencode://session/ses_approval_root` opens the lab session connected in
about 5 s with no onboarding, and `--es lab-experiments-on
inbox-sidebar,sound-effects` stores both switches (app storage holds
`experimental-inbox-sidebar` true; Settings shows the Sound Effects
volume slider).
@Tarquinen
Tarquinen merged commit fbeaf3b into dev Nov 17, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — 94c0123c Deployed Nov 17, 2026 by Tarquinen via check #385
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