SvelteKit wizard creates `instrumentation.server` for adapters that do not support it
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- developer-experience
Línea de trabajo
Start in src/sveltekit/sveltekit-wizard.ts, where the instrumentation setup is chosen from the Kit version alone. Check how the adapter is detected, if at all, and compare the adapters listed in the table against the ones that reject instrumentation.server. Reproduce by hand-writing the instrumentation file in a SvelteKit project using @sveltejs/adapter-static and running vite build. Done when the wizard skips that file for unsupported adapters and the build passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
@sentry/wizard master (b262ed0, 9.1.0 plus one commit), SvelteKit integration, @sveltejs/kit 2.70.4. Reproduced with a hand-written instrumentation file like the one the wizard creates, not a full wizard run.
Steps to Reproduce
- Have a SvelteKit project (Kit 2.31 or later) that uses
@sveltejs/adapter-static. - Run
npx @sentry/wizard -i sveltekit. - Run
vite build.
Expected Result
The wizard only creates instrumentation.server if the adapter supports it, and the build passes.
Actual Result
The build fails:
Error: .../src/instrumentation.server.js is unsupported in @sveltejs/adapter-static.
| Adapter | vite build |
|---|---|
adapter-static 3.0.11 |
fails |
adapter-auto 6.1.1 |
fails ("instrumentation.server.js only works in certain environments") |
adapter-node 5.5.8 |
passes |
adapter-vercel 6.3.5 |
passes |
adapter-netlify 5.2.4 |
passes |
adapter-cloudflare 7.2.10 |
passes |
adapter-auto was built locally, where it cannot determine the target. It may behave differently on a detected host.
src/sveltekit/sveltekit-wizard.ts chooses the instrumentation setup from the Kit version alone.
- Lenguaje dominante
- TypeScript
- Estrellas
- 297
- Forks
- 88
- Merge medio
- 5 h 29 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 getsentry/sentry-wizard
-
bug Next.js
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-wizard#1397 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/sentry-wizard#1396 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
React Router Framework
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
getsentry/sentry-wizard#1392 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/sentry-wizard#1391 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Cocoa Improvement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
getsentry/sentry-wizard#989 ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-wizard
Issues similares
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Posiblemente ocupada @goranai la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checksPosiblemente ocupada @Raj1v la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#4046 ·
Los mantenedores suelen responder en 1 día
-
進捗部屋の管理画面で削除対象を月ごとに絞り込むAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
traPtitech/knoQ_R-UI#290 ·
Los mantenedores suelen responder en 24 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
farion1231/cc-switch#9981 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
account bug course exam iris lecture
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día