Turbopack: forward module graph, entrypoint write, and emit spans to the JS trace (#98408)
<img width="1273" height="207" alt="Bildschirmfoto 2026-09-09 um 16 32
57"
src="https://github.com/user-attachments/assets/849e55d4-bf3f-4ef0-bf0d-bd2879f89e25"
/>
## Summary
Adds three Turbopack build-phase spans to the JS-side trace
(`.next/trace`, `.next/trace-build`, and trace uploads), forwarded from
Rust via `turbo_tasks.send_compilation_event` like the existing
`turbopack-persistence` span:
- `turbopack-module-graph` — whole-app module graph computation
(`whole_app_module_graph_operation`)
- `turbopack-write-entrypoints` — computing all output assets for the
entrypoints write phase (`all_entrypoints_write_to_disk_operation`)
- `turbopack-emit` — writing all output assets to disk
(`emit_all_output_assets_once_with_issues_operation`)
---------
Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>