Skip to content

Conversation

@amirh
Copy link
Contributor

@amirh amirh commented Dec 21, 2018

No description provided.

@xster
Copy link
Member

xster commented Dec 21, 2018

What was the issue we were trying to solve? Was it that tests were slow because await goldensClient.prepare(); should have checked some cache? Otherwise, the next time some maintainer changes a golden, they'd have to change goldens.version and this pubspec too?

Either way LGTM since I don't know much about this test. You can decide.

@amirh
Copy link
Contributor Author

amirh commented Dec 21, 2018

It was actually your idea 😄 (#20959).

It's just simpler this way, e.g in #23900 (comment) it created confusion when I pointed someone to run the android_views app as a diagnostic step.

@amirh
Copy link
Contributor Author

amirh commented Dec 21, 2018

As for updating the pinned commit, what this test is using off the goldens repository is a recorded touch sequence. It is the only things of goldens used by this test and the only test that uses the touch sequence recording.
So I'm kind of ok with the commit pinned here to get out of sync with the commit in goldens.version as these are used for different parts of the repository.

@xster
Copy link
Member

xster commented Dec 21, 2018

Ah I see. The pubspec tries to get that directory directly without being wrapped by anything from flutter_tools that makes sure to clone it first. Makes sense.

LGTM

@amirh amirh merged commit 8d60ed0 into flutter:master Dec 21, 2018
@amirh amirh deleted the pin_goldens branch December 21, 2018 22:17
@zoechi zoechi added the a: tests "flutter test", flutter_test, or one of our tests label Dec 22, 2018
kangwang1988 added a commit to XianyuTech/flutter that referenced this pull request Dec 26, 2018
* flt_master: (143 commits)
  Roll engine 215ca15..d8c5ec0 (12 commits) (flutter#25728)
  Provide some more locations for the FAB. (flutter#24736)
  Undeprecated BigInteger support, but document what it actually does. (flutter#24511)
  ClipPath.shape and related fixes (flutter#24816)
  Handle errors in `compute()` by propagating them to the Future. (flutter#24848)
  Fix merge conflict. (flutter#25718)
  Some minor tweaks to InputDecoration (mainly docs). (flutter#24643)
  Expose font fallback API in TextStyle, Roll engine 54a3577..215ca15 (8 commits) (flutter#25585)
  Updated Shrine demo (flutter#25674)
  Pin the goldens repo to a specific commit in the android_views test. (flutter#25678)
  Friendlier flags for Dart compilation training. (flutter#25645)
  Revert dependency upgrade to see if it helps with build times and APK size (flutter#25642)
  Depend on the goldens repo through git. (flutter#25479)
  no period after an alone link in see also section (flutter#25604)
  Update links for China help (flutter#25238)
  Roll engine 6a90418..54a3577 (23 commits) (flutter#25649)
  Roll engine e859296..6a90418 (4 commits) (flutter#25643)
  Adding support for android app bundle - Issue flutter#17829 (flutter#24440)
  Revert "[O] Remove many timeouts. (flutter#23531)" (flutter#25646)
  [O] Remove many timeouts. (flutter#23531)
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: tests "flutter test", flutter_test, or one of our tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants