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

未关闭
#24,841 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
bun, deno, node.js, typescript
领域
testing-qa

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
TypeScript
星标
8.8k
派生
1.9k
平均合并
1 天 8 小时
30 天内合并 PR
744

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。