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

Aberta
#24,841 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
42/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
bun, deno, node.js, typescript
Domínio
testing-qa

Direção de pesquisa

Start with the existing sveltekit-2 e2e app and suite, then read #24598 for the runtime matrix key, runtimeEntryPlugin, and README convention, plus #24612 for Bun diagnostics. Add the bun, deno, and cloudflare variants and runtime-specific assertions listed in the issue. Done means all variants run the suite and are green and required, or unsupported runtimes are documented; split large SDK fixes into separate issues.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

SvelteKit Tests

Run the SvelteKit 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: sveltekit-2
  • New variants: bun, deno, cloudflare

sveltekit-3-cloudflare-workers folds into sveltekit-3 once Kit 3 is the base. sveltekit-cloudflare-pages targets Pages and stays separate.

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: outgoing fetch: broken; db spans: broken.
  • Deno: outgoing fetch: broken; db spans: broken. #23891 has added outgoing fetch spans to @sentry/deno since.
  • Cloudflare: route names: partial; db spans: partial.

Setups the audit ran: Bun, Deno, Cloudflare

Done when

  • sveltekit-2 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
  • SDK defects the variants surface are fixed here, or split into their own issue when the fix is large or shared with other libraries
Linguagem predominante
TypeScript
Estrelas
8.8k
Forks
1.9k
Merge médio
1d 8h
PRs com merge (30d)
744

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-javascript

Todas as issues de getsentry/sentry-javascript

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.