-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add Super Editor back to test registry #172
Conversation
@Hixie I'm not sure why CI is failing. The reported failure is:
Except that test does compile, and it runs, and it passes (on my end). This is the source: https://github.com/superlistapp/super_editor/blob/main/super_editor/test/super_textfield/super_textfield_auto_scroll_test.dart#L177 |
The test harness is running That sees that the constructor parameter here never gets set to anything else, and removes it: https://github.com/superlistapp/super_editor/blob/6a90a3def633161183857a973ba251eb46176da3/super_editor/test/super_textfield/super_textfield_auto_scroll_test.dart#L171 But with that removed your variable is uninitialized. This seems like a bug in dartfix (/cc @bwilkerson and maybe @Piinks?). In the mean time, you could work around this by removing the parameter from your constructor. |
if you look at analysis with Flutter master, that parameter gets some blue squigglies saying
|
Oh interesting; we should probably run with less drastic lints? (IIRC |
If I add an annotation to ignore the complaint, will this CI respect that? |
If we can exclude the |
I'm not sure, you could probably test it locally by adding the annotation and then running |
(I just tested locally with an |
I'm gonna clean up all the Dart Analysis complaints. I need to do some PR and branch stuff on my end before I bring that over here. |
@Hixie it looks like tests are timing out again |
The Windows failures appear to be in a different package and related to a different issue in Skia that happened yesterday. You'll probably have to merge up to head of this repo to pick up fixes that happened there. |
(Skia changed a sampling algorithm in the CPU backend which altered some goldens in the failing tests) |
That definitely seems like a bug, not from the fix rules defined in flutter/flutter fix data though. I am not sure where that transformation is coming from.
This is true! |
@dnfield can you paste the error that you're seeing? I just scrolled through one of the Windows logs and didn't see any failures in |
I think if you merge this repo up to head you'll be in the green. |
To be clear: the failures are not coming from super_editor, they're coming from a different package that had to be patched yesterday. |
Oh, you mean "this repo" as in the test registry, not "this repo" as in some other repo that caused a test failure. Ok. I'll rebase my test registry. |
73022bf
to
b6687b7
Compare
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
Super Editor was removed from the test registry for not keeping up with Flutter's breaking changes.
This PR adds Super Editor back to the test registry after adjusting to the latest breaking changes.