-
Notifications
You must be signed in to change notification settings - Fork 6k
Add a build_bucket_golden_scraper tool. #45243
Add a build_bucket_golden_scraper tool. #45243
Conversation
|
||
// Read the file as a string. | ||
final String contents = await file.readAsString(); | ||
|
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.
Can the file and temp directory be cleaned up after this point? I guess if you read the contents in _downloadFile()
you can do all the cleanup there and make sure the temp dir gets cleaned up if the http client throws an exception.
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 can do you one better, why am I creating a temp file at all? :P
auto label is removed for flutter/engine/45243, due to - The status or check suite Linux linux_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Unblocks #45243, which adds the function: ```py def `gather_build_bucket_golden_scraper_tests`(): ```
Gentle ping @zanderso. Not urgent to merge, but trying to avoid this getting stale since I want to start using |
…133724) flutter/engine@73e8636...3b75e3d 2023-08-31 [email protected] [Impeller] Reland DlAiksCanvas (flutter/engine#45232) 2023-08-31 [email protected] Add a build_bucket_golden_scraper tool. (flutter/engine#45243) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
As discussed offline, this is best deleted when Skia-gold is used for all of our engine tests.
However, this will be useful for unblocking some PRs until then :)
See README.md for details!