-
Notifications
You must be signed in to change notification settings - Fork 309
Fix failing tests for RawAutocomplete #1190
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
Conversation
Welcome, @victorsanni! Are you here because you chose option 2 of the broken-test policy of the Flutter Customer Test Registry?
I'd like to better understand the rationale for this breaking change. A frame delay doesn't sound ideal; can your bugfixes be done without it? If not, I'd like to see an explanation. |
Hi @chrisbobbe! Indeed I am here for that reason. The associated Flutter framework PR fixes the issue where the @gnprice suggested some ideas on how to eliminate the one frame delay, which I implemented in the PR to make the options view relayout when the constraints given to the field change. However, there are still cases where the frame delay remains, which (I think) is causing the failing test. |
It sounds like you found that Greg's ideas had gaps in them 🙂 because they didn't work for some cases. Is there a description of those gaps that you can point Greg to? Then perhaps he'll suggest some new ideas, or else agree and corroborate your claim that the new lag is necessary. |
495d113
to
001a853
Compare
…mplete The fixes to RawAutocomplete's options width in the Flutter framework: flutter/flutter#143249 introduces a one-frame delay, so this test will need an extra pump to account for that.
001a853
to
0bfa79d
Compare
Thanks @victorsanni for sending this fix! Sorry we didn't follow up again on this sooner. Merged now (and adapted the commit message to our style). I'm still curious how things turned out in that upstream PR — I recall at one point last month you believed the delay was resolved after all, due to new ideas from LongCat — but I'll catch up there. |
This has the update to unblock autocomplete changes: zulip/zulip-flutter#1190 flutter/flutter#143249 and with that, tests pass again on Flutter main.
This has the update to unblock autocomplete changes: zulip/zulip-flutter#1190 flutter/flutter#143249 and with that, tests pass again on Flutter main. Also install libsqlite3-dev on Linux, a package which is no longer included in GitHub's new version of the "ubuntu-latest" images. The lack of it causes nondeterministic failures when the runner happens to use the new image: #441 (comment) The actual shared library file libsqlite3.so.0.8.6 -- in the package libsqlite3-0 -- is still installed by default anyway. This package adds the symlink at "libsqlite3.so", which is the filename some libraries apparently look for.
Reverts: #441 Initiated by: matanlurey Reason for reverting: sudo apt-get install does not work on LUCI Original PR Author: gnprice Reviewed By: {Piinks} This change reverts the following previous change: This has the update to unblock autocomplete changes: zulip/zulip-flutter#1190 flutter/flutter#143249 and with that, tests pass again on Flutter main. Also install libsqlite3-dev on Linux, a package which is no longer included in GitHub's new version of the "ubuntu-latest" images. The lack of it causes nondeterministic failures when the runner happens to use the new image: #441 (comment) The actual shared library file libsqlite3.so.0.8.6 -- in the package libsqlite3-0 -- is still installed by default anyway. This package adds the symlink at "libsqlite3.so", which is the filename some libraries apparently look for.
This has the update to unblock autocomplete changes: zulip/zulip-flutter#1190 flutter/flutter#143249 and with that, tests pass again on Flutter main. Also install libsqlite3-dev on Linux, a package which is no longer included in GitHub's new version of the "ubuntu-latest" images. The lack of it causes nondeterministic failures when the runner happens to use the new image: flutter#441 (comment) The actual shared library file libsqlite3.so.0.8.6 -- in the package libsqlite3-0 -- is still installed by default anyway. This package adds the symlink at "libsqlite3.so", which is the filename some libraries apparently look for.
Reverts: flutter#441 Initiated by: matanlurey Reason for reverting: sudo apt-get install does not work on LUCI Original PR Author: gnprice Reviewed By: {Piinks} This change reverts the following previous change: This has the update to unblock autocomplete changes: zulip/zulip-flutter#1190 flutter/flutter#143249 and with that, tests pass again on Flutter main. Also install libsqlite3-dev on Linux, a package which is no longer included in GitHub's new version of the "ubuntu-latest" images. The lack of it causes nondeterministic failures when the runner happens to use the new image: flutter#441 (comment) The actual shared library file libsqlite3.so.0.8.6 -- in the package libsqlite3-0 -- is still installed by default anyway. This package adds the symlink at "libsqlite3.so", which is the filename some libraries apparently look for.
The fixes to RawAutocomplete's options width in the flutter framework (flutter/flutter#143249) introduces a frame delay, so this test requires an extra pump to account for that.