Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Integrate with the Remix 3 asset server for debug IDs

Aperta
#24,667 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@chargome ci sta già lavorando.

Dal 23/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Remix

Hook into the Remix 3 asset server so browser modules carry debug IDs, with no config from the app.

  • Patch createAssetServer in @remix-run/assets and install our script loaders.
  • Inject a debug ID snippet into every served browser module.
  • Default sourceMaps to external. Remix's own template leaves source maps off in production, which would make every client stack trace unreadable.

Must follow the existing debug ID standard, so events symbolicate the same way they do for every other SDK:

  • UUID shaped ID
  • globalThis._sentryDebugIds keyed by stack, which is what getFilenameToDebugIdMap in @sentry/core reads at runtime
  • //# debugId= comment on the file and a debugId field in the source map, which is what sentry-cli reads at upload time

The ID must be a hash of the compiled source, not a UUID generated per process. The upload step runs in a separate process from the server, so a per process ID would never match what the browser reports.

scripts.loaders uses Node's synchronous load hook signature. It runs after the TypeScript transform and before minification, so the snippet is minified along with the module.

Done when e2e confirms every served module carries a debug ID, the ID is stable across requests, source maps are served without the app asking for them, and a captured client error carries debug_meta.images with a matching debug_id and code_file.

Lingua principale
TypeScript
Stelle
8.7k
Fork
1.9k
Merge medio
1g 16h
PR unite (30g)
576

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-javascript

Tutte le issue di getsentry/sentry-javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.