Sentry configuration: replay settings do nothing, no release tag, wallet addresses unscrubbed

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nextjs, typescript

調査の方向性

Start in web/sentry.client.config.ts and check the installed @sentry/nextjs version to see whether the replay options have any effect without a registered replay integration. Then set release from the build commit and add a beforeSend that scrubs Stellar addresses from URLs, breadcrumbs and request data, mirroring the three Sentry config files and web/next.config.mjs. Coordinate with PR #41, which also edits next.config.mjs. Done when the acceptance criteria pass and the build works without Sentry variables.

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

説明

difficulty: intermediate dx help wanted security web

Difficulty: Intermediate

Problem

sentry.client.config.ts sets replaysSessionSampleRate and replaysOnErrorSampleRate, but no replay integration is registered, so these values have no effect (to be verified for the installed SDK version). Events also carry no release, and wallet addresses or invoice ids can appear in URLs and breadcrumbs.

Why it matters

Misleading configuration, harder error triage, and avoidable personal-data exposure in a third-party service.

Scope of work

Verify the replay behaviour for @sentry/nextjs 8.x and either register the integration (with masking) or remove the dead options; set release from the build commit; add a beforeSend that scrubs Stellar addresses from URLs, breadcrumbs and request data. Document the result.

Expected outcome

Accurate monitoring configuration that does not leak wallet addresses.

Acceptance criteria

  • Replay is either working with masking or the options are removed.
  • release is set.
  • A test or documented manual check shows an address-bearing URL is scrubbed.
  • The build still passes without Sentry variables.

Relevant files

  • web/sentry.client.config.ts, web/sentry.server.config.ts, web/sentry.edge.config.ts, web/next.config.mjs

Dependencies

PR #41 also edits next.config.mjs.

Maintainer discussion needed?

No.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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