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

未關閉
#24,843 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
38/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
bun, deno, typescript
領域
ci-cd, testing

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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
主要語言
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 摘要。