Run the Elysia e2e suite on Bun, Deno and Cloudflare from one app

Aperta
#24,843 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bun, deno, typescript
Ambito
ci-cd, testing

Direzione di ricerca

Start with #24598 for the runtime matrix key, runtimeEntryPlugin, and README convention, then review #24612 and the existing elysia-node suite. Run the suite across Node, Bun, Deno, and Cloudflare while retaining elysia-bun-static's static trace coverage; done means every variant is green and required or documented as unsupported, with the obsolete apps removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Tests

Run the Elysia e2e suite on Node, Bun, Deno and Cloudflare from one app, following #24598 (react-router-8-framework). Node stays the required job. Bun, Deno and Cloudflare start as optional variants and become required once green.

Depends on #24598 (runtime matrix key, runtimeEntryPlugin, README convention) and #24612 (Bun diagnostics channels, missing http.server span).

Apps

  • Base: elysia-node
  • Fold in, then delete: elysia-bun, elysia-bun-static
  • New variants: deno, cloudflare

elysia-bun-static covers the static trace lifecycle; keep it as a variant of the merged app.

Cover on every runtime

The existing suite runs unchanged and branches on RUNTIME only where runtimes are expected to differ. Add assertions where the suite has none today:

  • Errors
  • Parameterized route names
  • Per-request isolation
  • Incoming trace continuation
  • Outgoing fetch with sentry-trace and baggage
  • Logs

Findings to confirm (runtime audit, September 2026, develop 6f2da7483d; database spans were measured with mysql or mysql2):

  • Bun: db spans: partial; sdk name: broken.
  • Deno: route names: broken; isolation: broken; incoming trace: broken; outgoing fetch: partial. #23891 has added outgoing fetch spans to @sentry/deno since.
  • Cloudflare: db spans: broken.

Setups the audit ran: Bun, Deno, Cloudflare

Done when

  • elysia-node runs its suite on Node, Bun, Deno and Cloudflare
  • Every variant is green and required, or this issue records why a runtime is not supported
  • elysia-bun and elysia-bun-static are deleted
  • SDK defects the variants surface are fixed here, or split into their own issue when the fix is large or shared with other libraries
Lingua principale
TypeScript
Stelle
8.8k
Fork
1.9k
Merge medio
1g 8h
PR unite (30g)
744

Preparare l'ambiente

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.