Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal#140101
Merged
auto-submit[bot] merged 2 commits intoflutter:masterfrom Dec 21, 2023
Merged
Conversation
…goldens for extensive technical debt removal Originally landed in flutter#139549 Originally reverted in flutter#140085
There were some missing `await`s, one of which in particular caused the tests to not be properly tested on post-submit, which we only discovered because it made Windows fail with access denied errors.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 22, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 22, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 22, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 23, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 23, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 24, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 26, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Dec 26, 2023
…flutter_goldens for extensive technical debt removal (flutter/flutter#140101)
Hixie
added a commit
to Hixie/flutter
that referenced
this pull request
Mar 1, 2024
This is part 4 of a broken down version of the flutter#140101 refactor. This PR renames isAvailableForEnvironment to isRecommendedForEnvironment and replaces a regular expression with a simple function.
auto-submit bot
pushed a commit
that referenced
this pull request
Mar 8, 2024
This is part 4 of a broken down version of the #140101 refactor. This PR renames isAvailableForEnvironment to isForEnvironment and replaces a regular expression with a simple function. (The latter will change the behaviour for people with branch names like `mainly_refactors` or `chess_master_experiment` or whatever, but I'm pretty sure the old behaviour was not intended.)
auto-submit bot
added a commit
that referenced
this pull request
Mar 8, 2024
…" (#144855) Reverts: #143176 Initiated by: QuncCccccc Reason for reverting: made tree red. Original PR Author: Hixie Reviewed By: {Piinks} This change reverts the following previous change: This is part 4 of a broken down version of the #140101 refactor. This PR renames isAvailableForEnvironment to isForEnvironment and replaces a regular expression with a simple function. (The latter will change the behaviour for people with branch names like `mainly_refactors` or `chess_master_experiment` or whatever, but I'm pretty sure the old behaviour was not intended.)
Hixie
added a commit
to Hixie/flutter
that referenced
this pull request
Mar 8, 2024
This is part 4 of a broken down version of the flutter#140101 refactor. This PR renames isAvailableForEnvironment to isForEnvironment and replaces a regular expression with a simple function. (The latter will change the behaviour for people with branch names like `mainly_refactors` or `chess_master_experiment` or whatever, but I'm pretty sure the old behaviour was not intended.)
This was referenced Mar 17, 2024
Hixie
commented
Mar 29, 2024
| [0-9]+:[0-9]+ [+]1: Local passes non-existent baseline for new test, empty expectation * | ||
| *No expectations provided by Skia Gold for test: library.flutter.new_golden_test.2.png. This may be a new test. If this is an unexpected result, check https://flutter-gold.skia.org. | ||
| *Validate image output found at flutter/test/library/ | ||
| [0-9]+:[0-9]+ [+]2: All tests passed! * |
Hixie
commented
Mar 29, 2024
| ]); | ||
| }); | ||
| } | ||
|
|
Hixie
commented
Mar 29, 2024
| vm_service: 13.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" | ||
|
|
||
| # PUBSPEC CHECKSUM: 84b7 | ||
| # PUBSPEC CHECKSUM: e519 |
Hixie
commented
Mar 29, 2024
| typed_data: 1.3.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" | ||
|
|
||
| # PUBSPEC CHECKSUM: 942d | ||
| # PUBSPEC CHECKSUM: 5a8e |
Hixie
commented
Mar 29, 2024
|
|
||
| * https://skia.org/docs/dev/testing/skiagold/ | ||
| * https://flutter-gold.skia.org/ | ||
| * https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter |
Hixie
commented
Mar 29, 2024
| # This tag tells the test framework to not shuffle the test order according to | ||
| # the --test-randomize-ordering-seed for the suites that have this tag. | ||
| no-shuffle: | ||
| allow_test_randomization: false |
This was referenced Apr 16, 2024
Hixie
commented
Apr 16, 2024
| # Exclude this package from the hosted API docs. | ||
| nodoc: true | ||
|
|
||
| # PUBSPEC CHECKSUM: 652c |
Hixie
commented
Apr 16, 2024
| expect(_testRecommendations(os: 'linux', hasCirrus: true, hasGold: true, hasFlutterRoot: true), _Comparator.skip); | ||
| expect(_testRecommendations(os: 'linux', hasCirrus: true, hasGold: true, hasFlutterRoot: true, hasTryJob: true), _Comparator.skip); | ||
| }); | ||
| } |
Hixie
commented
Apr 16, 2024
| path: 1.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" | ||
| source_span: 1.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" | ||
| stack_trace: 1.11.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" | ||
| stream_channel: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" |
This was referenced May 9, 2024
This was referenced May 21, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Originally landed in #139549
Originally reverted in #140085