Skip to content

fix(browser): remove the unsupported-flag bar from lab sessions - #392

Merged
ElbertePlinio merged 3 commits into
mainfrom
fix/348-gaia-flag-bar
Oct 28, 2026
Merged

ElbertePlinio merged 3 commits into
mainfrom
fix/348-gaia-flag-bar

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Every browser lab session showed Chrome's yellow bar "You are using an unsupported command-line flag: --gaia-url=https://127.0.0.1:0". It covered about 40 px of every page, in the viewer and in agent screenshots.

Chrome now gets the same loopback sign-in sink through --gaia-config-contents. Chromium reads the Gaia URL from that config first, and the switch is not on its bad-flags list, so no bar appears. An earlier version used --test-type, but that exposes chrome.test, including synthetic user activation, to every extension, so it was dropped.

Proof: fresh lab sessions on Chrome stable and Chromium 155 show no bar, and the egress check passes on both, with every ListAccounts request going to https://127.0.0.1:0.

Sol review: round 1 found the --test-type exposure (blocker), round 2 approved.

Closes #348

Requirement How verified Scenario and edge cases Result Evidence
Remove the bar without reopening sign-in egress Lab session with the rebuilt CLI, display screenshot; Chrome process command line Chrome stable and Chromium 155, fresh profile, about:blank No bar on both; the command line has the Gaia config and no --test-type, --gaia-url or --enable-automation ~/.pickforge/investigations/348/run2/google-chrome-stable-blank.png, chromium-blank.png; before: ~/.pickforge/investigations/348/run/baseline.png
Keep scripts/lab/chrome-egress-check.mjs passing 120 second egress check on both browsers, NetLog grep Startup sign-in polling Exit 0 on both; 24 ListAccounts requests to https://127.0.0.1:0 per run, no accounts.google.com; Chrome's known update.googleapis.com close ping remains ~/.pickforge/investigations/348/run2/egress-*.log
Check a Google SSO login in a named profile Named lab profile, Google sign-in and an OAuth SSO entry point over CDP with a made-up address Baseline with --gaia-url and a build with a sink, Chrome and Chromium Pages render; Google rejects sign-in with "This browser or app may not be secure" on both builds, so the sink is not the cause; filed as #380 ~/.pickforge/investigations/348/run/baseline-sso-next.png, fixed-chrome-sso-next.png
Launch argument tests and release note bunx vitest run packages/browser, lint, typecheck, PickCheck Gaia config present; --gaia-url, --test-type and --enable-automation absent 226 tests pass; lint, typecheck and PickCheck clean CI

Follow-ups: #380 (Google rejects sign-in in lab sessions), #381 (use the Gaia config in the noVNC viewer).

Chrome lists --gaia-url on its bad-flags list and shows a yellow bar in
every browser session. A bare --test-type skips the startup info bars
while --gaia-url keeps sign-in polling on the loopback sink.

Refs #348
@ElbertePlinio
ElbertePlinio merged commit 3a64c31 into main Oct 28, 2026
10 checks passed
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.

browser: the --gaia-url sink shows an unsupported-flag bar in every session

1 participant