nuxt/nuxt 6198010b..17f661a8
base and head as given
- Nuxt now has an internal server tracing component.
- Server rendering can publish diagnostics-channel traces.
- Async data handlers can publish diagnostics-channel traces.
- Nuxt configuration now exposes tracing-channel controls.
- files changed
- 12
- in a component
- 9
- lines in components
- 185
- components
- 7
- public routes changed
- 0
- schema statements
- 0
- new dependencies
- 0
- excluded by role
- 3
Server tracing
Added- Before
- Nuxt tracing controls did not exist
- After
- Tracing controls cover Nuxt operations
Server operators can enable diagnostics-channel traces for page rendering, islands, async data handlers, and plugins. Enabling tracing also turns on related request, H3, and storage channels by default.
In favour
- In favour: Avoids an extra microtask when no tracing subscriber exists
- In favour: Leaves unsupported runtimes untraced instead of failing module resolution
Against
- Against: Adds an experimental configuration surface spanning Nuxt and Nitro tracing
Inspect 8 source files behind this explanation
- packages/nuxt/src/app/nuxt.ts
- packages/nuxt/src/core/nuxt.ts
- packages/nuxt/src/app/composables/asyncData.ts
- packages/nitro-server/src/augments.ts
- packages/nuxt/src/app/internal/tracing.ts
- packages/schema/src/config/nitro.ts
- packages/nitro-server/src/runtime/handlers/renderer.ts
- packages/nitro-server/src/runtime/handlers/island.ts
2 new dependencies between components — Nuxt App → Internal App · App Composables → Internal App
What else could behave differently
19 components · 103 filesThese components import changed code, directly or through other files. A traced dependency is a place to review, not a confirmed runtime failure. Some paths stopped at heavily imported files; inspect those consumers separately.
Reached 3
| Component | Symbol | Cited at | Files | Reached by |
|---|---|---|---|---|
| Nuxt Apppackages/nuxt/src/app/ | Added traceAsync | packages/nuxt/src/app/internal/tracing.ts:56-66 | 6 | 1 direct · 3 at two steps · 2 at three stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| Nuxt Corepackages/nuxt/src/core/ | Added traceAsync | packages/nuxt/src/app/internal/tracing.ts:56-66 | 5 | none direct · 1 at two steps · 2 at three steps · 2 at four stepsTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
| packages/nuxt/src/ | Body changed loadNuxt1 of 2 changed symbols reaching it | packages/nuxt/src/core/nuxt.ts:794-966 | 1 | 1 directTrace pathShortest component path from the changed symbol:
Later steps follow file imports; they do not prove this symbol is called. |
Held back 5
| Component | Files | Reached by | Resolution |
|---|---|---|---|
| packages/schema/src/types/ | 2 | none direct · 1 at three steps · 1 at four steps | precise |
| packages/schema/src/utils/ | 1 | none direct · 1 at four steps | precise |
| packages/nitro-server/src/ | 2 | none direct · 1 at three steps · 1 at four steps | precise |
| packages/nuxt/src/app/compat/ | 1 | none direct · 1 at three steps | precise |
| packages/nuxt/src/app/middleware/ | 1 | none direct · 1 at three steps | precise |
Ranked lower 11
| Component | Files | Reached by |
|---|---|---|
| packages/nuxt/src/app/composables/ | 25 | 1 direct · 20 at two steps · 4 at three steps |
| packages/nuxt/src/pages/ | 9 | none direct · 7 at two steps · 2 at three steps |
| packages/nuxt/src/head/ | 3 | none direct · 2 at two steps · 1 at three steps |
| packages/nuxt/src/app/components/ | 14 | none direct · 6 at two steps · 8 at three steps |
| packages/vite/src/ | 1 | none direct · 1 at two steps |
| packages/schema/src/ | 1 | none direct · 1 at two steps |
| packages/schema/src/config/ | 1 | 1 direct |
| packages/nuxt/src/components/ | 3 | none direct · 3 at two steps |
| packages/nitro-server/src/runtime/ | 8 | 2 direct · 5 at two steps · 1 at three steps |
| packages/nuxt/src/app/types/ | 1 | none direct · 1 at two steps |
| packages/nuxt/src/app/plugins/ | 18 | none direct · 18 at two steps |
Not traced past a hub 1
| Symbol | Hub file | Imported by |
|---|---|---|
| packages/nuxt/src/app/nuxt.ts:applyPlugin | packages/nuxt/src/app/nuxt.ts | 67 |
Statements 3
traceAsync reached 6 files in the Nuxt app. 132traceAsync reached 5 files in Nuxt core. 122loadNuxt body change reached 1 file in the Nuxt source component. 117 reached files belong to no component — tests, docs and config.
Routes, schema, dependencies
No public URL, no migration and no new package.
Inspect components, files and symbols
Component
File
Function
imports what changeddownstream of it, one mark per step
Diff
Analysis scope
1538 → 7- files at head1,538
- components47
- changed by this change7
- shown above of 76
Where the new files landed
1 new file| New file | Belongs to | Used by | Calls | Serves |
|---|---|---|---|---|
| packages/nuxt/src/app/internal/tracing.ts | Internal Appnew territory | Nitro RuntimeNuxt AppApp Composables | nothing outside its own component | — |
12 files changed, 29 claims stated. 19 components reached in total.