Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
ymichael
force-pushed
the
bb/ci-flake-fix-mobile-e2e-native-link-confirmation-thr_35897dy9u5
branch
from
September 8, 2026 20:51
5f2f960 to
1594a59
Compare
ymichael
deleted the
bb/ci-flake-fix-mobile-e2e-native-link-confirmation-thr_35897dy9u5
branch
September 8, 2026 21:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
On a fresh iOS simulator, Maestro reports
openLink: "bb://threads"complete before the operating system's first custom-scheme confirmation has been accepted. The app remains behind the nativeOpen in “bb”?dialog whileshell-deep-linkwaits forshell-webview; that simulator-owned dialog survives the next flow's app stop and launch, so later flows cannot see their native screens. The original and prior scheduled evidence show that exact sequence: run 33637452626 and run 33517924818.After this PR was labeled, run 34273156200 checked out the PR merged with newer main and exposed a second deterministic blocker introduced by #2881: the first-run
Get notified when a thread needs you?action sheet covered an otherwise rendered shell after every direct-server pairing. That explains whyshell-launchnow failed before any deep link. Its artifact shows the sheet in all three failed-flow screenshots;clear-open-confirmationpassed after each failure andshell-unreachable-serverpassed, proving the PR's fail-closed cleanup prevented native state from leaking. Every scheduled main run since #2881 merged shows the same newshell-launchfailure, so this recurrence is current-main flow orchestration, not infrastructure.What changed
bb://action through one parameterized Maestro subflow. It preserves the real custom-scheme invocation, conditionally accepts the native confirmation only when visible on iOS, and proves the dialog is absent before route assertions continue.Not now, proves the sheet is absent, and keeps theshell-webviewassertion.shell-launch,shell-deep-link, andshell-senduse that one pairing boundary instead of duplicating pairing. The notifications deep-link added by Add mobile push notifications to the bb app #2881 also uses the custom-scheme helper.bb://Maestro commands.HOST_DAEMON_PROTOCOL_VERSIONis unchanged.How you verified
HEAD,origin/main, and merge-base all independently verified asab8e0a202c70525c3c935733300198dac617e3debefore task inspection.origin/mainas06047280e04e6ce57554052ec788a1c5defe7d1e, with PR head5f2f960c2c289518b8493dece775f4f22103f722and retained merge-baseab8e0a202c70525c3c935733300198dac617e3de; then rebased cleanly. Current PR merge-base is06047280e04e6ce57554052ec788a1c5defe7d1e.shell-launch,shell-deep-link, andshell-sendatshell-webview; its screenshots show the notification action sheet over the rendered shell. The new cleanup passed after every failure, andshell-unreachable-serverpassed.pnpm exec turbo run test --filter=@bb/mobile --force --concurrency=2 -- --run src/lib/e2e/mobile-e2e-flows.test.ts src/lib/e2e/ci-run-flows.test.ts— 2 files, 4 tests passed.pnpm exec turbo run test --filter=@bb/mobile --force --concurrency=2— 46 files, 331 tests passed.pnpm exec turbo run typecheck --filter=@bb/mobile --force --concurrency=2— passed.pnpm exec turbo run lint --filter=@bb/mobile --force --concurrency=2— passed with two pre-existing React warnings and zero errors.pnpm exec turbo run build --filter=@bb/app --force --concurrency=2— passed after a frozen-lockfile install refreshed dependencies for current main; 439 files precompressed.bash -n, Ruby YAML parsing for every changed Maestro file, targetedoxfmt --check,git diff --check, and the no-direct-bb://scan passed. ShellCheck is unavailable on this host.1594a59a2b2ccf1c17645200f2fb0db522e8861c, including build/typecheck/lint, package tests, all app test shards, server, integration, and Linux/macOS package smoke.host_nwqfteeqz4(x86_64, Intel Core i5-1038NG7). A final cwd audit found one stale earlier Xcode-discovery process group, terminated it, and then proved no task build, test, backend, fixture, Maestro, or simulator process remained. Temporary artifacts and logs were moved recoverably to Trash.mobile-e2elabel was removed before the updated push; run 34277221938 therefore skipped without starting a simulator.