Skip to content

fix(ui): keep default cloud onboarding steward-only - #15532

Merged
lalalune merged 1 commit into
developfrom
fix/15527-cloud-onboarding-default
Jul 8, 2026
Merged

lalalune merged 1 commit into
developfrom
fix/15527-cloud-onboarding-default

Conversation

@lalalune

@lalalune lalalune commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

  • keep the runtime chooser disabled by default for Android local sideload/system builds unless a developer/test lane explicitly opts in
  • make first-run cloud binding request the Steward-token Cloud REST adapter so default onboarding does not route into dedicated /pair
  • preserve existing dedicated /pair behavior for explicit callers that do not request the Steward adapter

Verification

  • bun run --cwd packages/ui test src/first-run/first-run-runtime-flag.test.ts src/api/client-cloud-select-or-provision.test.ts src/first-run/first-run-finish.force-fresh.test.ts
  • bunx @biomejs/biome check packages/ui/src/first-run/first-run-runtime-flag.ts packages/ui/src/first-run/first-run-runtime-flag.test.ts packages/ui/src/api/client-cloud.ts packages/ui/src/api/client-cloud-select-or-provision.test.ts packages/ui/src/first-run/first-run-finish.ts packages/ui/src/first-run/first-run-finish.force-fresh.test.ts
  • git diff --check
  • bun run --cwd packages/app audit:app partially passed: Playwright visual audit passed 241/241 with broken=0 and undebted-needs-work=0; OCR triage failed on an unrelated builtin-browser mobile-portrait baseline/content drift (Enter a URL | Open a website | Summarize a page | Search the web missing). This branch does not touch Browser view code.

Fixes #15527

  • N/A - first-run cloud binding behavior change with no visual before state captured locally
  • N/A - app visual audit rendered the app matrix; no visual surface changed in this branch
  • N/A - no rendered user-flow change; focused tests cover first-run cloud binding behavior
  • N/A - client-side first-run binding/routing change only
  • N/A - no browser runtime walkthrough captured; focused unit tests exercise the frontend client path
  • N/A - no model/action/provider/prompt behavior changed

@claude

claude Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@lalalune
lalalune merged commit 0e6478d into develop Jul 8, 2026
22 of 23 checks passed
@lalalune
lalalune deleted the fix/15527-cloud-onboarding-default branch July 8, 2026 22:32
lalalune pushed a commit that referenced this pull request Jul 23, 2026
Three journey-harness gaps, no product changes:

- Seed eliza:enable-runtime-chooser=1 — steps 01-03 walk the Local/Cloud
  runtime chooser, which is off by default since cloud-only onboarding
  (#15244/#15532); same opt-in first-run-startup.spec.ts already uses.
- Seed eliza:permissions-primed=1 — the injected __electrobunWindowId makes
  the platform read as desktop, arming the post-onboarding permission-priming
  modal (#12331) whose overlay swallowed every mid-journey click (7 step
  timeouts per viewport plus downstream mobile chaos).
- Mock-lane stubs for GET /api/models*, GET /api/accounts, and
  POST /api/turns/*/abort — the keyless stub 501s them, tripping the
  diagnostics gate once the earlier steps proceed.

Verified: both journeys (desktop + mobile) pass locally in 59.8s total
(previously 9 and 11 failed steps at 11-14 minutes each in CI).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Onboarding + cloud-auth cleanup: cloud-only by default, kill the /pair path, fix ChoiceWidget contrast, streamline flow (LP3 QA)

2 participants