Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#24,137 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker-compose, kafka, mongodb, mysql, node.js, postgresql, rabbitmq, redis, typescript

調査の方向性

親Issueの移植手順から始め、次に一覧にあるtracingスイートと、それらのdocker-composeテストエントリポイントを確認します。spanおよびoperationのアサーションを更新し、postgres-streamedの対になっているスイートをベーススイートに戻し、指定された箇所でSTREAMEDのライフサイクルスイッチを削除します。影響を受ける統合スイートを実行し、ストリーミングを有効にした状態で、一覧にあるすべてのデータベース、キャッシュ、メッセージングのテストがパスすることを確認します。

索引モデルが 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日 16時間
マージ済み PR(30日)
576

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。