Rolldown panel “Run build” records no session when devtools.apply is "serve"
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- build-system, devtools
Línea de trabajo
Reproduce the issue by running the Rolldown panel's “Run build” or VITE_DEVTOOLS_ROLLDOWN=true vite build with devtools.apply set to serve. Start by tracing the build integration from that entry point to node_modules/.rolldown/; done means a new sid_* session is written and appears in the panel without leaving the build hanging.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
In practice, no config gives you a "Run build" that both records a session and exits cleanly.
Versions
vite8.3.2@vitejs/devtools0.7.6@vitejs/devtools-rolldown0.7.6
Config
export default defineConfig({
devtools: { apply: "serve" },
})
apply: "serve" is needed because with the default (devtools: true / apply: "all"), vite build starts a standalone DevTools server after the build and never exits. That hangs CI.
I was a able to hack it using the config below.
Workaround
build: {
rolldownOptions: {
...(process.env["VITE_DEVTOOLS_ROLLDOWN"] === "true" && { devtools: {} }),
},
},
devtools: { apply: "serve" },
Love the tool btw! Exactly what I needed and a considerable upgrade from the old plugin approach that created simple static files.
Reproduction
Steps to reproduce
- Run
vite(dev server). - Open the Rolldown panel in the DevTools dock.
- Click "Run build".
Expected:
A new session is written to node_modules/.rolldown/ and shows up in the panel.
Actual:
The build finishes successfully, but no session is written and the panel has nothing new to show. Running the same command by hand gives the same result:
VITE_DEVTOOLS_ROLLDOWN=true vite build # no new node_modules/.rolldown/sid_* directory
System Info
System:
OS: macOS 27.0.1
CPU: (12) arm64 Apple M2 Max
Memory: 3.99 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 26.10.0 - /opt/homebrew/bin/node
npm: 11.19.1 - /opt/homebrew/bin/npm
Browsers:
Brave Browser: 154.1.96.59
Safari: 27.0.1
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 92
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de vitejs/devtools
-
docs: manual client injection examples reference removed exportsPosiblemente ocupada @MFA-G la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vitejs/devtools#589 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
vitejs/devtools#261 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Not working on Stackblitz (WebContainer)Posiblemente ocupada @webfansplz la tomó hace 2 días. Abiertobug: upstream
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
vitejs/devtools#603 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Compare module sizes between build sessionsPosiblemente ocupada @webfansplz la tomó hace 6 días. Abiertoenhancement
vitejs/devtools#601 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de vitejs/devtools
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
core
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
vectorize-io/hindsight#5457 ·
Los mantenedores suelen responder en 1 día
-
beginner friendly community contributions-welcome good first issue hacktoberfest help wanted testing up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
lukilabs/beautiful-mermaid#160 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
rescript-lang/rescript-lang.org#1420 ·
Los mantenedores suelen responder en 2 días