-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Unpin test packages + roll pub packages #140916
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
|
There are a few issues here:
I think with those issues fixes, this PR may go green. Then we should also be able to bump DDS, vm_service, vm_service_interface and DWDS (or, the bot might be able to do it for us). |
Is there some context in which the published packages are being used in a development context? They only have dev dependencies on |
|
@stuartmorgan it's the bots on this PR that are failing. For example "Linux flutter_plugins": https://github.com/flutter/flutter/pull/140916/checks?check_run_id=20140583080
I originally assumed these were being cloned from the packages repo directly, but if they are landing the above PR to update the packages might cause these bots to fail (until this PR also lands). If they're instead coming from pub, then the versions on Pub would need to be updated for this PR to go green? |
|
Actually, I can see at the top of the log |
|
|
Are there other examples? That test is unique, so if other things are failing, they would probably be doing so in a completely different way and need to be addressed individually. |
There are some failing customer tests, but that's because cocoon is also pinned (noted above). I think those were the only ones, but I'll review the latest results.
Ah, thanks, I'll merge in! :) |
|
Actually, I think I confused myself. I thought pkg:test was pinning Mockito (so I expected the PR you linked above to fail because Flutter is pinned to an older test that couldn't use new Mockito). However, it seems like the dependency is the other way (mockito pins test), so I think #140967 can be landed in isolation (and is not required in this PR, beyond using it to test that those bots now pass). So I think the problem is a little simpler now. Once #140967 lands, if the only failure here is customer_tests because of cocoon, we can land flutter/tests#329 and then land this. (and then hopefully update dds/dwds/etc.! 😄) |
|
@christopherfujino seems we're down to just customer tests failing now. Your cocoon failure will fix one, but I also see some like this: It's not clear to me if this is a real failure or not. One line says it's ignored because it's less than 0.06% but the next line says it's 1.01 🙃 |
|
@christopherfujino @bkonyi if I re-run |
I think we need to pin to 13.0.0 until this CL lands in the SDK and we're also ready to land this change in DevTools to handle the breaking changes. If we land 14.0.0 in Flutter as-is without the SDK change, we'll break the DevTools build. Even if we patch DevTools, network profiling will be broken without the SDK changes. FYI @derekxu16 |
|
ok, I'll open a separate PR that pins that to ensure it's not accidentally rolled in (with or without this PR). Edit: #140972 |
vm_service 14 should not be used yet (see flutter#140916 (comment)) but when trying to unpin pkg:test it was upgraded. This pins it to v13.0.0.
vm_service 14 should not be used yet (see #140916 (comment)) but when trying to unpin pkg:test it was upgraded. This pins it to v13.0.0.
|
I don't think |
We should probably pin it regardless since the relevant changes in the SDK haven't landed and 14.0.0 won't work with any Flutter version that doesn't have it. |
Upon looking into this further, we actually must not pin |
Ah okay that makes sense. As long as 14.0.0 doesn't make it into the in-progress Flutter release, we should be fine. |
|
So should I revert #140972 which pinned it? |
It will need to be reverted at some point, but we should probably wait until the branch cut is complete just to be safe. |
|
Ok, let me know when that is if you want me to do it (or feel free to create the revert). I'm gonna close this PR (that unpins test packages) for now - the original intention was to try and get an updated DDS into Flutter for the branch but I think that's being resolved via a hotfixed version instead. We can look at unpinning these also after the branch and it's not a limiting factor for DDS now as I understand it. |
Unpins the test packages which are (part of) the reason why the latest DDS is not being pulled in.
(DWDS is the other and is being worked on).
Fixes #140169
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.