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

node-integration-tests: port database, cache and messaging suites to span streaming

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker-compose, kafka, mongodb, mysql, node.js, postgresql, rabbitmq, redis, typescript

调研方向

先从父 issue 的移植方案开始,然后检查列出的 tracing 套件及其 docker-compose 测试入口点。更新 span 和 operation 断言,将 postgres-streamed 对应套件合并回其基础套件,并在指定位置移除 STREAMED 生命周期开关。运行受影响的集成套件,并确认启用 streaming 后,列出的所有数据库、缓存和消息传递测试都通过。

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

描述

javascript Task

Follow the porting recipe in the parent issue.

Most of these run under docker compose, so plan for a slow feedback loop. db span names became low cardinality and redis spans now start as cache spans, so nearly every name and op assertion changes.

Suites

  • Postgres: tracing/postgres, tracing/postgresjs
  • MySQL: tracing/mysql, tracing/mysql2, tracing/mysql2-tracing-channel
  • Mongo: tracing/mongodb, tracing/mongodb-v4 to -v7, tracing/mongoose, tracing/mongoose-v5 to -v9, tracing/mongoose-tracing-channel
  • Prisma: tracing/prisma-orm-v5, -v6, -v7
  • Other: tracing/knex/mysql2, tracing/knex/pg, tracing/tedious, tracing/genericPool, tracing/genericPool-v2, tracing/dataloader
  • Cache: tracing/redis, tracing/redis-cache, tracing/redis-dc, tracing/ioredis-dc
  • Messaging: tracing/kafkajs, tracing/amqplib

Twins to fold back

  • tracing/postgres-streamed into tracing/postgres
  • tracing/postgresjs-streamed into tracing/postgresjs

Env-gated suites

13 of these use traceLifecycle: process.env.STREAMED === 'true' ? 'stream' : 'static' (all the mongo, mongoose, redis and ioredis suites plus tracing/mysql and tracing/dataloader). Drop the switch and keep 'stream'.

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

环境准备

从这里开始

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

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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