test(mobile): run the agent card journey in CI through the root wiring

The journey returned early (and passed) without BUZZ_AUTH_DOMAINS, which
the main test lane doesn't set, and re-declared the root scope's agent
creation handler. It now skips visibly in non-Builderlab runs, runs in the
configured-authentication-domains CI step, and takes its overrides from
buildRootProviderScope, so removing the production handler fails it.

Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@buzz.block.builderlab.xyz>
Signed-off-by: Tom Brow <tomb@squareup.com>
This commit is contained in:
Tom Brow
2026-11-01 17:25:46 -08:00
parent c313f8ae1a
commit 897bcafd2c
2 changed files with 13 additions and 7 deletions

View File

@@ -144,6 +144,7 @@ jobs:
--dart-define=BUZZ_PUSH_GATEWAY_URL=https://push.example
--dart-define=BUZZ_AUTH_DOMAINS=buzz.xyz,builderlab.xyz,builderlabstaging.xyz
test/shared/auth/community_entry_requirements_test.dart
test/features/agents/agent_creation_link_journey_test.dart
test/features/invites/invite_join_provider_test.dart
test/features/onboarding/onboarding_entry_routes_test.dart
test/shared/hosted/hosted_environment_test.dart