-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Prioritize test model cache over the dev one in BootstrapAppModelFactory #46346
Prioritize test model cache over the dev one in BootstrapAppModelFactory #46346
Conversation
Should it be backported or this code is new? |
Status for workflow
|
Yes, it can be backported. In fact, apparently, it's been wrong for a long time, we just didn't have a stacktrace warning. |
When both
test
anddev
options are enabled in the app model factory, a wider dependency scope (the test one) should be picked when looking for a cached model. If the cached model is not found then the resolver will resolve thetest
scope anyway.