-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Which component is affected?
Qwik Router
Describe the bug
Before updating to v2, we've been using the Server-Timing data to gauge the performance of tasks running inside routeLoaders$
After updating we noticed that they were missing. After adding breakpoints inside request-handler/index.mjs I could see this snippet of state:
serverRequestEv.mode is now "server" instead of "dev" for whatever reason. If I do a find/replace for "dev" checks and swap them to "server" just so it all passes and runs, I can see the server-timing labels are now meaningless (maybe due to not being in dev mode or whatever):
Reproduction
N/A
Steps to reproduce
No response
System Info
System:
OS: macOS 26.0.1
CPU: (14) arm64 Apple M4 Max
Memory: 3.31 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.18.0 - /Users/dom/.volta/tools/image/node/22.18.0/bin/node
npm: 10.9.3 - /Users/dom/.volta/tools/image/node/22.18.0/bin/npm
pnpm: 10.6.2 - /Users/dom/.volta/bin/pnpm
Browsers:
Chrome: 141.0.7390.109
Firefox: 141.0.3
Safari: 26.0.1
npmPackages:
@builder.io/sdk-qwik: ^0.20.1 => 0.20.1
@qwik.dev/core: https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@6903 => 2.0.0-beta.12
@qwik.dev/router: https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@6903 => 2.0.0-beta.12
typescript: ~5.7.3 => 5.7.3
undici: ^5.22.0 => 5.29.0
vite: ^6.3.5 => 6.3.5Additional Information
We're running the server with this nx project.json target (in order to allow node inspection):
"serve.debug": {
"executor": "nx:run-commands",
"options": {
"command": "node --inspect --experimental-network-inspection node_modules/vite/bin/vite.js --mode ssr --config apps/my-app/vite.config.mts",
"cwd": "./"
}
},