-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Refactoring Gold to enable both Luci & Cirrus support #49815
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
|
/cc @blasten FYI and maybe you can also review it :) |
| /// This ensures that the goldctl tool is authorized and ready for testing. It | ||
| /// will only be called once for each instance of | ||
| /// [FlutterSkiaGoldFileComparator]. | ||
| Future<void> luciAuth() async { |
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.
Would it make sense to detect if it's a LUCI environment in auth() and then do this work? @kjlubick Is there a way to detect a LUCI host?
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.
🤦♀ Much better idea. Thank you! Detecting luci is easy, the environment has a SWARMING_TASK_ID variable. I'll update this tomorrow.
|
I think I am going to just enable Luci testing fully in this PR. It will take a little bit more refactoring for the cirrus-specific areas of the skia client, but should have it up soon. |
| /// | ||
| /// To display action buttons that look like standard iOS action sheet buttons, | ||
| /// provide [CupertinoActionSheetAction]s for the [actions] given to this action sheet. | ||
| /// provide [CupertinoActionSheetAction]s for the [actions] given to this action |
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.
Trivial >80 characters style change to trigger the appropriate test shards.
|
This is ready for review. @cyanglaz I removed the ability for it to turn the tree red on master. We can implement this in the actual driver test use case, or make that change later. Currently there are other conditions where it may turn the tree red when we don't want it too, like when Cirrus denies decrypting the service account for first time contributors. That will not be an issue once we are off cirrus and running tests solely on luci. 😉 |
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
blasten
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.
Thanks @Piinks!
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Description
This will enable Skia Gold testing on the Luci CI environments.
This will allow us to run golden file tests on luci for the framework as well as driver tests.
Related Issues
Fixes #49749
Fixes #49837
Related to: #49750
Tests
Added authentication tests for luci environment, as well as validation for comparator selection.
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
Did any tests fail when you ran them? Please read Handling breaking changes.