-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Reland AutomatedTestWidgetsFlutterBinding.pump provides wrong pump time stamp, probably because of forgetting the precision, via optional flag
#113433
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
|
@fzyzcjy @CaseyHillers @goderbauer I still think that this change should be made without the boolean flag. The underlying issue with the goldens is that The secondary issue that makes this difficult to break cleanly is that To start with, the first paragraph in the breaking changes process says:
Adding a boolean to make the correct behavior happen is not an API that we would have designed on purpose. It's also not a change that we can easily guide people to using, as there's no "new API" we can drive them towards with deprecations or data driven fixes. It'd be something we introduce for a period of time, hope people read the blog, then end up running into the same "breaking change" issues when we eventually remove the boolean or default it to true. From there, digging into the process, the preferred process is the three step process:
I think the only way we can get that to happen is to introduce a new version of
My biggest concern with this approach is that |
|
@pdblasi-google @CaseyHillers @goderbauer I agree with both sides of the opinion, both looks very reasonable to me. So just ping me when googlers reach a conclusion that what I should do! |
|
So... what should I do? |
|
If you're alright with it, I'd like to grab the issue from you to wrap it up. We'll need to make some changes internally and do some extra documentation to release this due to the internal test failures. If you'd like, I'll guide you through the extra docs and just handle the internal stuff myself, but I think it'll be easier with just one person working to get this landed. |
|
@pdblasi-google Sure :) so shall I close this issue now? |
|
This PR yes. I'll still work off of the original issue so we can keep the wonderful history of this surprisingly complex issue! 😛 |
|
@pdblasi-google Looking forward to see it landed! |
This relands #112609, but with a flag that is off by default. The reason why it is designed like this can be found in discussions around #112609 (comment).
Close #112610
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.