http icon indicating copy to clipboard operation
http copied to clipboard

[CI] Replace `reactivecircus/android-emulator-runner` | Resolve flaking timeout

Open AlexV525 opened this issue 1 year ago • 1 comments

During the development of https://github.com/dart-lang/http/pull/1104, the test frequently fails without showing an obvious reason, which makes it hard to track the root cause. We should find a more stable solution or find the root cause of the timeout.

AlexV525 avatar Jan 05 '24 17:01 AlexV525

I ran into the same issue working on Amplify Flutter and rewrote reactivecircus's GH action in Dart to try and resolve the flakiness.

The main insight I gathered was the overwhelming performance and stability gained from hardware acceleration, which is only available on macos-xl runners and GitHub's large runners. Using those, hardware acceleration can be enabled relatively easily and the reactivecircus action should be sufficient.

dnys1 avatar Jan 12 '24 16:01 dnys1