-
Notifications
You must be signed in to change notification settings - Fork 29.3k
validate engine hash #55057
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
validate engine hash #55057
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
The bot is confused because this PR doesn't modify a _test.dart file, but this does in fact add a test. |
|
||
final String commandDescription = '${path.relative(executable, from: workingDirectory)} ${arguments.join(' ')}'; | ||
final String relativeWorkingDir = path.relative(workingDirectory); | ||
final String relativeWorkingDir = path.relative(workingDirectory ?? Directory.current.path); |
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.
This throws right now if someone calls it without specifying a working directory. If that's intended, we can change this to be an @required
param, but I think this makes sense.
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
This is a good addition, but this only handles the upload side of #27574. The tool would also like to validate the cache contents after downloading |
@jonahwilliams isn't this running after we download the artifacts again? |
If there's more work you want to do for the linked bug we can reopen it |
This change broke Flutter-engine-Dart head-head-head bot:
This might be because HHH bot replaces certain parts of Flutter (e.g. |
Maybe we could add a flag for the bot to bypass this check... Why doesn't the bot just use the local-engine flag though? Modifying the cache seems dangerous |
This reverts commit 6a490ed.
Fixes #27574
Validates that
flutter_tester --help
gives us a Flutter Engine Version that matches the contents ofbin/internal/engine.version
. This is meant to guard against regressions in the recipe scripts where we accidentally upload a revision to the wrong bucket folder.