WIP: Upgrade to solidjs beta.13#7415
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
View your CI Pipeline Execution ↗ for commit ac36dca
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
Bundle Size Benchmarks
Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better. |
Merging this PR will improve performance by 8.65%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | ssr request loop (solid) |
174.6 ms | 168.7 ms | +3.52% |
| ⚡ | client-side navigation loop (solid) |
72.6 ms | 63.7 ms | +14.03% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing upgrade-to-veta.11 (ac36dca) with solid-router-v2-pre (67a9040)1
Footnotes
There was a problem hiding this comment.
Important
At least one additional CI pipeline execution has run since the conclusion below was written and it may no longer be applicable.
Nx Cloud is proposing a fix for your failed CI:
We fixed a cache-corruption bug introduced by the new matchedRoutesCache in router-core/src/router.ts. The cached routeParams object was being mutated in-place by Object.assign(routeParams, strictParams) in matchRoute, causing subsequent cache hits to return already-parsed params (e.g. { postId: '2', status: 'parsed' }) as the raw input to parseParams instead of the original URL params ({ postId: '2' }). Returning a fresh copy of routeParams on cache hits prevents this mutation from propagating back into the cache, fixing the failing unit tests across @tanstack/react-router, @tanstack/vue-router, and @tanstack/solid-router.
Tip
✅ We verified this fix by re-running @tanstack/react-router:test:unit, @tanstack/solid-router:test:unit, @tanstack/vue-router:test:unit.
Warning
The suggested diff is too large to display here, but you can view it on Nx Cloud ↗
Or Apply changes locally with:
npx nx-cloud apply-locally yJni-iCyH
Apply fix locally with your editor ↗ View interactive diff ↗
🎓 Learn more about Self-Healing CI on nx.dev
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
CodSpeed's Simulation runner does not honor tinybench's warmupIterations, so the first measured iteration absorbed V8 JIT tier-up cost. That cost shows up under the un-symbolized 'NodeJS internals' bucket in the flamegraph, which was disproportionately large on the solid bench (~21% vs ~5% on react) because Solid's hot path is dominated by Proxy traps and many small anonymous reactive closures that take longer to tier up. Drive 30 warm-up ticks inside beforeAll so V8 reaches steady state before measurement starts. This should attribute more samples to named functions (recompute, read, keys, ownKeys, ...) and shrink the unattributed bucket, making the flamegraph more actionable.
…Speed" This reverts commit c4d6276.
No description provided.