Conversation
Size Report
Startup median (7 runs, lower is better):
|
f8d4c98 to
e358595
Compare
|
Reviewed at e358595. The code looks good: the longer 45 s landmark wait applies only to the WebView route, and the shared 15 s default and the alert path stay the same. Not blocking: no run has yet shown the XCTest restart path finishing inside the new 45 s budget, so the fix is supported by the failure pattern rather than by a direct run. Checks were still queued at review time. |
|
Recommend closing this in favor of #2901 and #2902, both review-clean:
One gap: this PR allowed up to 45 s for the landmark before the 20 s page wait, while #2902 allows 15 s plus the caller's 20 s. A runner restart longer than about 35 s would pass here and fail there. No such restart has been observed. Both PRs edit the same helper, so they will conflict. |
|
The exact-head iOS smoke job for this PR passed, but I’m keeping it open as a draft for now. I agree #2901 addresses the expensive no-alert query. I found a real prompt path missing from #2902’s |
|
#2901 and #2902 have now merged into #2897's exact-head iOS smoke passed, but it did not reproduce the 51.9-second restart. The post-merge iOS smoke for #2902 is still queued (job 107700023853). I am keeping this PR in draft while that replacement run completes, then expect to close it as superseded if the run passes. No rebase is needed for a superseded patch. |
|
The replacement now has the live evidence I was waiting for. #2901's exact-head iOS smoke passed, and #2902's exact-head iOS job completed both the targeted XCTest step and the fixture-backed simulator E2E smoke step successfully. The fixture smoke includes #2901 removes the expensive absent-alert query, and #2902 retries typed readable/stalled waits with a bounded budget while retaining the real confirmation path. This supersedes this PR's single 45-second landmark wait. I am closing this draft instead of rebasing an overlapping fallback. |
Summary
Give the WebView route's first native landmark up to 45 seconds before probing for a deep-link system alert. The linked failed run restarted XCTest during bridge fallback; its 15-second landmark wait expired, and
alert getqueried an already visible WKWebView, leaving the runner busy. A healthy WebView route still finishes this wait as soon as the landmark appears.The shared 15-second default and failed-wait →
alert get/accept path remain in place for real “Open in” confirmations. Two files changed.Validation
Commit
e358595a5905807d97ec3607f1eceb94edbd5f26:pnpm formatandpnpm check:affected --runpassed (format, lint, typecheck, Fallow; Vitest found no related tests). The failed WebView run and a successful run with a real confirmation informed the budget and retained alert path. The iOS simulator replay on this PR head is pending; it is the live behavior check. A restart longer than 45 seconds can still reach the alert probe.