Repository navigation
CI stability: drop flutter test -v, retry the iOS warm-up, longer Cronet test waits - #3
Merged
Merged
Conversation
Both Dart steps ran flutter test verbose, marked DEBUG, to see what it waited on when it launched the app and never connected. iOS's cause was a flutter_tools race, now patched in the workflow; the Android hang hasn't recurred, and logcat is still recorded as an artifact. Verbose output put the whole Xcode/Gradle build and the app's Info.plist in every job log, burying the test results. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqmpXW1H7XRFuEgBWW3ppW
In run 42689216883 on main the single warm-up call timed out after 10 s and failed setUpAll, so none of the cases ran. trustd had stalled every certificate check: at 20:12:13 it began updating its pinning database (version 118 to 131, from a PKITrustSupplementals trust data update it downloaded on the freshly booted simulator), and its other evaluations then retried a locked SQLite database for the rest of the run. setUpAll now makes up to three 8 s attempts, each on a fresh client whose call a deadline cancels, and logs each outcome. That rides out a shorter stall; it would not have saved that run, where the lock outlasted the suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqmpXW1H7XRFuEgBWW3ppW
In run 42691768445 writesBeforeTheStreamIsReadyAreSentOnceItIs failed with no events for its call after 3 s. The server received the call's request about 3 s after it was opened, just as the wait gave up: each case builds a fresh Cronet engine and so a fresh TCP+TLS connection to the host through the emulator, and this one took that long to come up. DNS was answered from cache in 3 ms and the test process was idle meanwhile. 3 s matches two lost-SYN retransmissions (1 s + 2 s), though the logs can't confirm the packet loss. 10 s, as the Dart cases allow, still fails a real hang quickly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BqmpXW1H7XRFuEgBWW3ppW
gartnera
enabled auto-merge (squash)
November 9, 2026 20:44
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.
Drop
-vfrom the Dart integration stepsBoth Dart integration steps in
ci.yaml(iOS and Android) still passed-vtoflutter test. Both were markedDEBUGand were added to diagnoseflutter testlaunching the app and then never connecting to it.Verbose output puts the whole Xcode/Gradle build and the app's Info.plist into every job log, and buries the test results.
Why they can go now:
flutter test(Integration Tests) on iOS simulator sometimes never starts test execution after build flutter/flutter#181771), now patched in the workflow.Retry the iOS warm-up call
In run 42689216883 on main, the single warm-up call timed out after 10 s and failed
setUpAll, so none of the test cases ran.The simulator's trustd log shows why:
PKITrustSupplementalstrust-data download on the freshly booted simulator.sqlite busy/locked). That was still going when the log ended at 20:15:34, more than 3 minutes later.setUpAllnow makes up to three 8 s attempts. Each attempt uses a fresh client, and a deadline cancels the stalled call. Each outcome is logged.This rides out a shorter stall. It would not have saved that run, where the lock outlasted the whole suite.
Longer waits in
CronetBridgeTestIn run 42691768445,
writesBeforeTheStreamIsReadyAreSentOnceItIsfailed with no events after its 3 s wait. What the logs show:3 s matches two lost connection attempts retried after 1 s and 2 s, but the logs can't confirm that. The waits are now 10 s, as the Dart cases allow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BqmpXW1H7XRFuEgBWW3ppW