-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Skia Gold Support for Local & PreSubmit Testing in package:flutter #40710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Marking this WIP again for some changes after some offline feedback from @kjlubick. 👍 |
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am missing an overview somewhere in the docs that says: These are the three cooperators we have and this is how they differ.
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
FYI @kjlubick this is ready to land. :) |
|
@goderbauer I have made 2 changes here.
I would like to follow-up on these in later (smaller) PRs. I will already be revisiting to incorporate new features from Skia Gold as they become available. WDYT? |
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those changes sound good.
|
I will land this once the tree is green. I already have the wiki update queued for when it lands. :) |
| String rawResponse; | ||
| await io.HttpOverrides.runWithHttpOverrides<Future<void>>(() async { | ||
| final Uri requestForDigest = Uri.parse( | ||
| 'https://flutter-gold.skia.org/json/details?test=$testName&digest=$expectation' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @kjlubick This appears to be the request that was timing out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, that also is prone to the 5 QPS limit atm. I'll dig in a bit and see what we can do about it before our discussion tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, that one is on a rate limit that is way under 5QPS, but measurements show that it might not need to be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://bugs.chromium.org/p/skia/issues/detail?id=9557 for tracking Gold side changes
…utter (flutter#40710)" (flutter#43227) This reverts commit 8df0d65.
Description
This PR adds Local and PreSubmit testing support for Skia Gold, which was first landed as a post-submit comparator in #36103.
Original PR #39853
Design Doc: flutter.dev/go/golden-workflow.
Feedback is welcome here and in the design doc.
Needs to land first:
needs deploymentOpened PR here: Benchmark for un-triaged image results on Flutter Gold #40634Tests
Many.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?