-
Notifications
You must be signed in to change notification settings - Fork 199
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
[CI - test_optimizer] GitHub Actions, Melos, very_good test lead sometimes to cache error #947
Comments
Hi @md-weber 👋 Thanks for opening up an issue. Would you be able to provide a sample project that can clearly demonstrate this? We don't tend to work with a lot of projects using Melos so want to make sure we are not spinning our wheels or trying something different then what your putting together. One other thing to ask is if you have tried this without the concurrency flag. We have seen some issues with that in the past and would like to be able to rule that out quickly if possible. Thanks in advance and looking forward to your reply. |
Hi @tomarra thanks for your answer, I will work on a demo example this weekend and hope that I can provide you an example till next week. At the moment we did exactly that to at least not see the warning anymore. As soon the concurrency is out, it works flawless. If that just mean we cannot use concurrency in Melos it is still good to have that issue so that people know about it 👍 |
hey, is there any movement on this issue? It really affects us when running our test suites in a Mac VM (in CodeMagic). Removing the optimization seems to work to avoid the issue, but drastically slows the testing suite - almost doubles the timing. |
Description
We use GitHub Actions with the caching support of the
subosito/flutter-action@v2
together with Melos and every now and then we run into the following error:cache/bundled/test_optimizer_0.1.0+1_e324e538d331470906db7fbaea6b8d957bcce68d/hooks/build/hooks/pre_gen/pre_gen_7389adb0f4462262bdd04123d3826c0231f89ed6.dart': No such file or directory
Melos config looks like this:
Steps To Reproduce
Expected Behavior
No error
Additional Context
I know that is not a perfect issue, but any help is much appreciated.
The text was updated successfully, but these errors were encountered: