-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Set up a process to roll Gallery version in Flutter Devicelab tests #254
Comments
Copying discussion from flutter/flutter#62986 Is there any way we can move these tests to customer tests https://github.com/flutter/tests/blob/master/registry/flutter_gallery.test and out of Flutter proper? That is also pinning a SHA that already needs to roll. https://github.com/flutter/tests#flutter-tests
|
There's also duplicate flutter/flutter#63004. |
i'll close mine, thanks for this @pennzht |
* Add debugLabel to HighlightFocus * Remove decrated property * Add focus to DestinationCards * Add index property to Forms * Move BackLayer stuff to its own file * Add focus * Revert deprecated change * Address feedback Former-commit-id: 49c7244
Echoing @jmagman's suggestion. The other ramification is that having a benchmark test driving the gallery in Flutter repo (probably unintentionally) actually makes Flutter Gallery the one true source of all dependency and transitive dependencies of all flutter/flutter repo. Since flutter/flutter enforces a single resolved version for all dependencies, and since the web macrobenchmark depends on a Flutter Gallery's git hash commit, that Flutter Gallery's pubspec.yaml effectively becomes the locked dependency version that all dependencies in flutter/flutter have to use. This 1) creates resolution issues that might arise when changing pubspec in Flutter Gallery that will have bigger downstream ramifications when rolling and 2) changes the order of package upgrades in flutter/flutter. The sequencing will have to then be send a PR to flutter/gallery to update pubspec in order to be able to change the dependency in flutter/flutter. |
I think we should seriously consider not testing or benchmarking the "real" gallery as part of Flutter's regular integration tests. Things we want to have be part of our integration tests should be in the main repo. If we want to make sure we don't break it, we could add it to the customer_testing shard (flutter/tests). |
@Hixie Parts of it already are in the customer_testing shard. Check out my comment above about what should be easy to move and what would be trickier. |
Excellent. I think it's fine for us to remove the other testing we have right now. The cost is disproportionate to the benefit and we are so deep in debt here that the benefit of reducing the cost would offset even a non-trivial benefit. |
@Hixie what is it about the customer_testing shard that would make it easier to maintain? I'm curious if we could apply the same method in the benchmark. This way we would still be able to benchmark the gallery without the drawbacks of whatever it is we're doing currently. |
Is your feature request related to a problem? Please describe.
(Please add)
Describe the solution you'd like
It would be great to have a process to roll the Gallery version regularly in Devicelab Tests in Flutter.
Describe alternatives you've considered
(Please add)
Additional context
Please see flutter/flutter#62986 for more discussion.
The text was updated successfully, but these errors were encountered: