Repository navigation
fix(vite): invalidate lazily-created SSR modules on render - #35410
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
@nuxt/kit
@nuxt/nitro-server
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
Merging this PR will not alter performance
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ❌ | loadNuxt in the basic test fixture |
391.5 ms | 445.5 ms | -12.12% |
| ⚡ | loadNuxt in the basic test fixture (dev) |
367.7 ms | 329.9 ms | +11.45% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing fix/ssr-hmr-invalidation (31b7fa6) with main (0f68230)
Footnotes
-
3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
This was referenced Jun 22, 2026
danielroe
added a commit
that referenced
this pull request
Jun 24, 2026
Closed
This was referenced Jun 26, 2026
danielroe
added a commit
that referenced
this pull request
Jul 17, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
📚 Description
fixes an issue detected in the flakiness of test suite - previously whether we invalidated modules in dev ssr was dependent on order - ie when vite had detected them. this pr collects info about changes so we can invalidate them lazily.