observability: Sentry is a no-op stub and no @sentry package is installed
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- next.js, node.js, typescript
- 領域
- backend, observability
調査の方向性
apps/web/src/lib/sentry.ts から始め、workspace の package.json ファイルを調べて、既存の stub インターフェースと利用可能な依存関係を理解します。SDK の統合ポイントを選択する前に、その呼び出し箇所とデフォルトのアラートハンドラーを追跡します。Web、worker、bot のエラーが Sentry 経由で送信され、しきい値を超えたアラートが呼び出し箇所を変更せずに Slack または PagerDuty にルーティングされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CopilotKit/outpost のほかの issue
-
area: docs area: security roadmap: now
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CopilotKit/outpost#277 ·
メンテナーはふだん 4 日以内に返信
-
area: infrastructure roadmap roadmap: later
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
CopilotKit/outpost#179 ·
メンテナーはふだん 4 日以内に返信
-
area: ai roadmap roadmap: now
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CopilotKit/outpost#145 ·
メンテナーはふだん 4 日以内に返信
-
area: integrations priority: low roadmap roadmap: later
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
CopilotKit/outpost#124 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
-
area: integrations priority: low roadmap roadmap: later
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
CopilotKit/outpost#123 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
CopilotKit/outpost の issue をすべて見る
似ている issue
-
難易度 2/5 1時間未満 初心者へのやさしさ 85/100
capricorn86/happy-dom#2474 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
JSerwatka/letterboxd-tweaks#81 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
siyuan-note/siyuan#20165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
polkadot-js/phishing#5716 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
juice-shop/juice-shop#3662 ·
メンテナーはふだん 1 日以内に返信