Files
buzz/scripts
Matt Toohey bd87d8e877 fix(ci): read the suite file of Flutter widget tests in flake check
The Flutter flake-check lane marked every iteration FAILED on PR #8601
even though `flutter test` passed all 65 selected tests. The Dart JSON
reporter gives a test declared through a helper, which includes every
`testWidgets`, the helper's `package:flutter_test/...` url and puts the
suite file in `root_url`. parseDartReport passed that `package:` url to
fileURLToPath, which throws ERR_INVALID_URL_SCHEME. repeatDart's catch
then turned the throw into an empty status map, so any selection that
contained a widget test could never pass.

parseDartReport now prefers `root_url` and falls back to `url`. Parsing
the CI run's iter-1.json report now gives 65 passed and 1 skipped, which
matches flutter's own summary. The parser table gains a widget-test
event, and that row fails with ERR_INVALID_URL_SCHEME without the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-10-29 21:02:36 +11:00
..