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

observability: Sentry is a no-op stub and no @sentry package is installed

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

メンテナーはふだん 4 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
next.js, node.js, typescript

調査の方向性

apps/web/src/lib/sentry.ts から始め、workspace の package.json ファイルを調べて、既存の stub インターフェースと利用可能な依存関係を理解します。SDK の統合ポイントを選択する前に、その呼び出し箇所とデフォルトのアラートハンドラーを追跡します。Web、worker、bot のエラーが Sentry 経由で送信され、しきい値を超えたアラートが呼び出し箇所を変更せずに Slack または PagerDuty にルーティングされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area: infrastructure roadmap roadmap: next

apps/web/src/lib/sentry.ts is a stub. Without SENTRY_DSN every call logs to stderr and returns:

export function captureException(error: unknown, context?: Record<string, unknown>): void {
    if (!sentryConfig.dsn) {
        console.error('[sentry-stub] exception captured:', error, context ?? '');
        return;
    }

No @sentry/* package is installed in any workspace package.json, so even setting the DSN would not send anything. The default alert handler only logs as well.

Why it matters

Production has no error reporting. When the worker drops a job or a webhook 500s, nobody finds out unless they are reading Railway logs at that moment. This compounds #182 (a wedged worker still reports healthy) — two independent blind spots on the same service.

Fix

Install @sentry/nextjs for apps/web and @sentry/node for the worker and bots, wire the real SDK behind the existing stub interface so call sites do not change, and route the alert handler to Slack or PagerDuty for anything above a threshold.

主要言語
TypeScript
スター
10
フォーク
4
平均マージ
4日 2時間
マージ済み PR(30日)
7

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

CopilotKit/outpost のほかの issue

CopilotKit/outpost の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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