Skip to content

ci: build and deploy the device-first onboarding prototype to Vercel from main - #21782

Merged
kodjima33 merged 5 commits into
mainfrom
kodjima33/reid-onboarding-vercel
Oct 16, 2026
Merged

kodjima33 merged 5 commits into
mainfrom
kodjima33/reid-onboarding-vercel

Conversation

@kodjima33

@kodjima33 kodjima33 commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Commits Reid's prototypes/device_first_onboarding (from design: device-first onboarding + soft trial paywall prototype (Graphite / Aurora) #21412) plus the webview bridge patches that the live https://omi-reid-onboarding.vercel.app build already runs: OmiOnboarding.postMessage bridge (bridge*.dart), embed mode in main.dart, flow.dart hooks, and web/index.html that posts ready before Flutter boots.
  • Adds .github/workflows/reid_onboarding_vercel.yml: on push to main touching the prototype, run its flow tests, flutter build web --release (Flutter 3.44.5, same pin as mobile-app-checks), and vercel deploy --prod into the existing project (VERCEL_TOKEN repo secret, VERCEL_ORG_ID / VERCEL_PROJECT_ID_REID_ONBOARDING repo variables, already set; classified in config/deployment-setting-classification.json, registered in .github/ci-budget.yaml).
  • Concurrency group deploy-reid-onboarding-vercel-production, cancel-in-progress: false; workflow_dispatch for a manual redeploy.

Before this the site was three manual CLI uploads from a scratch directory and the patched source was not in git.

Test plan

  • flutter test test/flow_test.dart locally: 90 passed
  • flutter build web --release locally from the committed tree; build/web/index.html carries the bridge handshake
  • actionlint -shellcheck "" and check_workflow_apt_network_bounds.py clean
  • After merge: workflow run green, Vercel deployment tagged with the main SHA, the embed URL in the onboarding-variant flag payload still serves

Product invariants affected

none

View guided diff Turn on auto-fix

…from main

Commit Reid's device_first_onboarding prototype (PR #21412) with the webview
bridge patches that the live omi-reid-onboarding.vercel.app build already
carries (OmiOnboarding.postMessage bridge, embed mode, index.html ready
handshake), and add a workflow that rebuilds it for web and publishes it to
the Vercel project on every push to main touching the prototype.

Until now the site was uploaded by hand from a local build and the patched
source lived nowhere in git.
The Formatting job runs dart format without resolving the prototype's
packages, so it formats in the current (tall) style. Raise the SDK floor
to 3.7 so the style is the same with and without package resolution, and
reformat.
@kodjima33
kodjima33 force-pushed the kodjima33/reid-onboarding-vercel branch from b1fe129 to 3f5b802 Compare October 16, 2026 00:19
@kodjima33
kodjima33 merged commit 41b0fc8 into main Oct 16, 2026
56 checks passed
@kodjima33
kodjima33 deleted the kodjima33/reid-onboarding-vercel branch October 16, 2026 00:30
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