Repository navigation
Conversation
ymichael
deleted the
bb/ci-flake-fix-mobile-smoke-deep-link-readiness-thr_ykwtwhpjpm
branch
August 21, 2026 16:52
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.
What was wrong
The embedded Release branch of
launch-app.yamlreturned as soon as Maestro'slaunchAppstarted the native process, before the embedded JavaScript bundle and Expo Router had necessarily mounted. With the E2E profile reset, the initial/route redirects to Add server while the live custom-scheme handler is coming online. The smoke flow therefore deliveredbb://dev/spikeinto a race between that initial redirect and the incoming URL.The failed artifact from Mobile E2E run 32470089883 makes the race visible: iOS delivered
UIOpenURLActionat 10:06:54.564, and the same app PID rendered and focused the Add server URL field about 154 ms later. The passing artifacts from runs 32356115918 and 32445580667 never rendered that field for the smoke PID before reaching the spike route. The backend, simulator, and app build were healthy in the failed run; all five later flows passed.What changed
The embedded-bundle launch subflow now waits for the first React screen (
add-server-screen) before returning to callers. That readiness condition establishes that app boot, the initial router mount, and the empty-profile redirect have completed before smoke delivers a live deep link. This is a state-based gate rather than a sleep or an increase to the smoke assertion timeout.The smoke flow and its Phase 0, workspace probe, HTTP, raw WebSocket, realtime, and config-change assertions are unchanged. There are no wire, CLI, guide, or protocol changes.
How you verified
launch-app.yamlandsmoke.yamlas two-document YAML files.pnpm exec turbo run build --filter=@bb/mobilepnpm exec turbo run typecheck --filter=@bb/mobilepnpm exec turbo run lint --filter=@bb/mobilepnpm exec turbo run test --filter=@bb/mobile --force— 124 files and 839 tests passed.