Record error details when a wizard crashes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 40/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start in src/telemetry.ts, especially withTelemetry and beforeSend, and read the existing telemetry tests to see how events are asserted. The proposal names the safe fields to consider, but the message-sanitization policy still needs a decision before implementation. Done means crash events can be grouped by step plus allowlisted error details, and tests confirm that paths and stack traces are not sent.
索引モデルが issue の本文から書いたものです。
説明
Problem
When a wizard crashes, our telemetry does not tell us why. withTelemetry in src/telemetry.ts discards the caught error and captures a constant string:
} catch (e) {
Sentry.captureException('Error during wizard execution.');
beforeSend also removes stack traces. The events still carry tags such as integration and progress (the last step started), but no error name, message or code. Different crashes end up with the same message, so we cannot tell which bugs users hit or whether a fix worked.
Proposal
Record enough about the original error to tell crashes apart, for example:
- the error name
- the error code, such as
ENOENT, if there is one - a sanitized message, if we decide that is safe
Use these details, together with the step, for grouping.
Privacy constraints
Raw errors must not be sent as they are:
- Stack traces may contain absolute paths, which is why they are stripped today.
- Messages can contain absolute paths, user names, project code or command output.
causeand other error properties can contain the same.
An allowlist of safe fields is a good starting point. Whether messages can be included, and how to sanitize them, needs a decision. Tests should check that paths and stack traces are not sent.
- 主要言語
- TypeScript
- スター
- 297
- フォーク
- 88
- 平均マージ
- 5時間 29分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-wizard のほかの issue
-
bug Next.js
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-wizard#1397 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/sentry-wizard#1396 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
React Router Framework
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
getsentry/sentry-wizard#1392 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/sentry-wizard#1391 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Cocoa Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
getsentry/sentry-wizard#989 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-wizard の issue をすべて見る
似ている issue
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checks対応中かも @Raj1v が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#4046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
traPtitech/knoQ_R-UI#290 ·
メンテナーはふだん 24 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
farion1231/cc-switch#9981 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
account bug course exam iris lecture
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信