Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

node-integration-tests: drop static pins from non-tracing suites

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
74/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
领域
testing-qa

调研方向

先从父 issue 的移植配方开始,然后在列出的 node-integration-tests suite 目录中搜索 traceLifecycle: 'static'。移除“pin removal only”下所列非 tracing suite 中的 pin;七个 assertion 重写组留待单独处理。完成的标准是这些 suite 不再携带不必要的 static pin,同时列出的 envelope assertion suite 保持不变。

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

描述

javascript Task

Follow the porting recipe in the parent issue.

Largest group by file count and the smallest by effort. Roughly 90 suite directories carry the traceLifecycle: 'static' pin without ever asserting on a transaction envelope, so the pin just needs to go.

Suites (pin removal only)

  • public-api/* except the span surface dirs owned by the trace semantics sub-issue: addBreadcrumb, captureException, captureMessage, configureScope, LocalVariables, logger, metrics, OnUncaughtException, setContext, setExtra, setExtras, setTag, setTags, setUser, withMonitor, withScope
  • sessions, cron/*, client-reports/periodic-send
  • Logging: pino, winston, consola, integrations/console/filter
  • Runtime: anr, system-error, thread-blocked-native, child-process, modules, esm/*, contextLines/*, breadcrumbs/process-thread, node-runtime-metrics, bun-runtime-metrics
  • vercel/sigterm-flush

Suites that still need an assertion rewrite

These 7 do assert on transaction envelopes:

  • public-api/onUnhandledRejectionIntegration
  • client-reports/drop-reasons/* (4 dirs)
  • featureFlags/featureFlagsIntegration/onSpan and featureFlags/growthbook/onSpan
  • fs-instrumentation
  • aws-serverless/aws-integration (fold aws-serverless/aws-integration-streamed back into it)

Splitting this issue into a mechanical pin-removal PR and a smaller rewrite PR is fine.

主要语言
TypeScript
星标
8.7k
派生
1.9k
平均合并
1 天 16 小时
30 天内合并 PR
576

贡献指南

打开贡献指南

从这里开始

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

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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