-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
There are a few possibilities to why flutter/engine post-submit is still broken by changes that should have come up in pre:
-
This is garden-variety flakiness, and is being misattributed to pull requests
UNLIKELY: In the failure in question, there was a both a clear, and intentional change in digest output.
TODO: Nothing. I can't see any work to be done here.
-
The test runner (in this case
scenario_app) is not uploading the images properly or timely to Skia GoldPOSSIBLE, LEANING UNLIKELY: There is fairly extensive logging proving the output of the runner.
It is possible that despite generating the image, the actual upload is either failing, or not completing in time.
TODO:
- Add more logging to
scenario_appverifying thataddImgcalls are succeeding and uploading the image (done: Add more explicit logging (just tostderr) if a try-job detects an untriaged image engine#51454). - Modify
<SkiaGoldClient>.addImgto report if "Untriaged image" is coming up in pre-submit (log only, no failure) (done: Log messages when an image successfully uploads to Skia Gold engine#51455).
- Add more logging to
-
The client wrapper that uploads/tests codes in pre-submit unintentionally has diverged from post-submit or flutter/flutter
POSSIBLE: I need to better understand the command-line arguments to
gold_ctl.flutter/enginehas a fork ofSkiaGoldClient, and our implementation is different than the one influtter/flutter.It's possible that either support improved (but was not improved in our forked copy), mistakes were made etc.
TODO:
- Review and document the command-line arguments to
gold_ctl - Review the implementation details of the
flutter/fluttercopy andflutter/enginefork and look for discrepancies
- Review and document the command-line arguments to
-
✅ Flutter Gold(the GitHub check) is either misbehaving (has a bug), or the server API result is stale/not fresh enoughPOSSIBLE: I know very little about this API or the integration.
TODO:
- Add logging for the "Flutter Gold" check that sticks around in the commit history/is more easily audit-able.
Background
In the latest example, the flutter/engine tree turned 🔴 due to an untriaged golden file:
The particular rendering issue (see below) is due to YUV textures mis-rendering on Android emulators:
In the originating pull request, all tests (including the "Flutter Gold") check were 🟢 . In fact, if you pull up the execution logs, you'll see that the particular test (testCroppedRotatedMediaSurface_bottomLeft on Impeller/Vulkan) produced the image above, and should have triggered an untriaged digest:






