-
Notifications
You must be signed in to change notification settings - Fork 142
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
Use Vite for all tests #1840
Use Vite for all tests #1840
Conversation
b56a319
to
d1c7b11
Compare
The merge from main above fixed part of the failures in canary-static-app because The above commit fixed the development mode canary-static-app. The next thing we debugged is the production mode canary-static-app. Before, that was doing Other issues identified while debugging (some of which only appear if you try to run one of the scenarios in
We may want to consider not supporting staticAddonsTrees===false at all in the new major. It often introduces bugs that are otherwise not present. It's trying to give behavior closer to classic, but it can hurt more than it helps. We also started debugging the macro-tests failure, which is again a staticAddonsTrees===false issue where the implicit-modules appears to have a module cycle involving |
And refactor to use app.execute's built-in env support.
Presumably this will be getting deleted shortly, but while it still exists it needs the same test-aware change that we made in app-template
Leading edge of work:
|
It's not well-supported and it contains some broken code that appears if you try to adjust the embroider settings in static-app
I figured out the (Arguably the addon shouldn't include such a module. It seems to exist as a workaround for other code doing a poor job of distinguishing type-only imports.) |
Down to only the watch mode tests. I started reimplementing them to use a direct fetch for a given module, but that is going to be problematic. Vite controls rebuilds by propagating query params downward through the module graph. To get a realistic result we want to follow those same imports. This is a good fit for the audit assertions, but we'll need to extend those to be able to follow URLs and not just files. |
This is a new requirement for these types of tests since #1840
This is a new requirement for these types of tests since embroider-build#1840
No description provided.