-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Can the SDK test if Mockito/Build Runner works at ToT? #60594
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
Comments
I suppose we could wire up a lot of infrastructure that tests analyzer at HEAD of the main branch against the latest pub release versions of a selection of packages (mockito, build_runner). That is a sizeable task. |
I guess I sort of assumed that already happened for other packages and it would be the "simple" matter of just += |
I'm interested in better supporting our generators; we could run e2e tests of them in the build repo, there are already benchmarks of It won't help right now though, ToT analyzer is the breaking removal of element1 and the generators can't use that yet. Work in progress :) |
Sorry if I am contributing with something that might be irrelevant, but I thought it would be nice to share these 2 cents: I think this is the kind of task that can be implemented a lot quicker if you use AI. I have used AI for this kind of stuff lately and yeah, it's not perfect, but I can get lots of boilerplate and test cases and automation tools done in a couple of days, that would take weeks normally, or would never be made at all because of their sizing. So I would like to nudge that this might be a route the dart team would like to explore to not get trapped into this turning into a big task. |
I don't think it will be too bad :) either way, as Matan suggested, it makes sense as part of investing more in |
It would be trivial to add them to this list: They are currently not dependencies of the SDK, however, so they'd also need to be added to DEPS and then someone would have to roll them continuously. Alternatively, the packages in question could setup their GitHub Actions' |
I think that's not quite sufficient, as it's not the analyzer-in-the-SDK that they're using but the analyzer-via-pub. So I think what they need is a CI run with an override of their pubspecs--not sure if there's an easy way to do that. But it can't be too hard, I'll look at setting up something along those lines in the
|
Could help prevent things like:
I imagine with the cancellation of Macros and the fact Build Runner is being improved this might have gone from a P3ish need to P1ish?
The text was updated successfully, but these errors were encountered: