Port deno-integration-tests suites to span streaming
维护者通常 1 天内回复
@msonnb 已经在做这个了。
开始于 2026年9月3日。
评估
这个 Issue 还没有评估数据。
描述
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
beforeSendTransactionsink with a span sink (e.g.beforeSendSpanor a mock transport capturing span v2 envelopes). - Rewrite the per-suite assertions from
transaction.spans[]/contexts.traceto 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
- Add a streamed-span sink to
src/index.tsnext totransactionSink(). - Remove the
traceLifecycle: 'static'pins from everysuites/**/test.ts. - 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.
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 1.9k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 543
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/sentry-javascript 的其他 Issue
-
Browser Bug Next.js Traces
难度 2/5 1-3 小时 新手友好度 75/100
getsentry/sentry-javascript#24672 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
javascript
难度 2/5 1-3 小时 新手友好度 75/100
getsentry/sentry-javascript#24200 · 2 条评论 ·
维护者通常 1 天内回复
-
javascript Task
难度 2/5 1-3 小时 新手友好度 82/100
getsentry/sentry-javascript#24134 · 1 条评论 ·
维护者通常 1 天内回复
-
Cloudflare Workers javascript Tests
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-javascript#24051 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug Bun javascript
难度 2/5 1-3 小时 新手友好度 92/100
getsentry/sentry-javascript#24045 · 1 条评论 ·
维护者通常 1 天内回复
查看 getsentry/sentry-javascript 的全部 Issue
相似的 Issue
-
docs
难度 1/5 1 小时以内 新手友好度 68/100
remix-run/react-router#15558 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
solana-foundation/pay-kit#341 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
supabase/agent-skills#607 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复