Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Port deno-integration-tests suites to span streaming

Abierto
#24,004 1 comentario 0 reacciones 1 asignado Ver en GitHub

@msonnb ya está trabajando en esto.

Desde el 3/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

javascript Task

Split out of getsentry/sentry-javascript#23812, which ported the Deno E2E apps (deno, deno-mysql, deno-pg, deno-redis) to span streaming in getsentry/sentry-javascript#24002 and #24003.

The dev-packages/deno-integration-tests suites still carry the traceLifecycle: 'static' pin from getsentry/sentry-javascript#22590: 25 suites, 51 pins, mostly the orchestrion-* suites plus deno-serve-request-bodies.

Why this is separate

These suites don't go through the event proxy. They assert via a transactionSink() helper wired into beforeSendTransaction in dev-packages/deno-integration-tests/src/index.ts, so porting them is a harness change, not a spec rewrite:

  • Replace the beforeSendTransaction sink with a span sink (e.g. beforeSendSpan or a mock transport capturing span v2 envelopes).
  • Rewrite the per-suite assertions from transaction.spans[] / contexts.trace to streamed span shape (span.name, getSpanOp, span.attributes['x'].value, is_segment).
  • Streamed db/http/gen_ai span names are low cardinality, so every name assertion in the orchestrion suites changes.

What to do

  1. Add a streamed-span sink to src/index.ts next to transactionSink().
  2. Remove the traceLifecycle: 'static' pins from every suites/**/test.ts.
  3. Rewrite the assertions per suite.

Consider keeping one suite on the static pin (or duplicating one) so the static trace lifecycle stays covered for this harness, mirroring the *-static E2E apps.

Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.9k
Merge medio
1 d 16 h
PR fusionados (30 d)
576

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-javascript

Todos los issues de getsentry/sentry-javascript

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.