Add a CI check for attribute keys not in Sentry Conventions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, typescript
調査の方向性
Start by checking whether the shared cross-SDK conventions check is available; otherwise follow the issue’s suggested extraction from packages/core/src/js and compare keys with the installed @sentry/conventions types. Read buildandtest.yml to find where the check belongs and add an allowlist for warn-only mode. Done means the check runs on every PR in warn-only mode and has a documented path to strict mode after registration issues land.
索引モデルが issue の本文から書いたものです。
説明
Add a CI check that flags attribute keys and span ops the SDK sends that aren't in Sentry Conventions, or are deprecated there.
Rollout
- Warn-only: run the check on every PR. Existing keys go on an allowlist.
- Shrink the allowlist as the registration issues in this project land.
- Strict: fail the build on new keys that aren't registered. The allowlist ends up empty, or holds only breaking renames scheduled for the next major.
Approach
- Prefer the shared cross-SDK check once it exists, with a small RN config.
- If it isn't available yet, add an interim script that extracts the keys from
packages/core/src/jsand compares them with the installed@sentry/conventions.
Acceptance criteria
- The check runs in
buildandtest.ymlin warn-only mode, with an allowlist file. - It's switched to strict mode once the registration issues are done.
Agent notes
- The sweep that produced this project extracted every dotted string literal from
src/js(tests excluded), compared them withdist/attributes.d.tsanddist/op.d.tsfrom@sentry/conventions, and filtered out paths, modules and file names. The same approach works as an interim script. - It doesn't catch dynamically built keys (template strings). The TurboModule per-method keys were the only ones, and they're removed by the TurboModule rename issue.
- CI workflow changes need maintainer approval (AGENTS.md: Ask first).
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 371
- 平均マージ
- 22時間 3分
- マージ済み PR(30日)
- 106
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-react-native のほかの issue
-
React-Native
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/sentry-react-native#7073 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Improvement React-Native
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
getsentry/sentry-react-native#7055 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
React-Native Replays Task
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
getsentry/sentry-react-native#6680 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Improvement React-Native
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getsentry/sentry-react-native#6143 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
React-Native Task User Feedbacks
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
getsentry/sentry-react-native#5932 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-react-native の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
danielmiessler/LifeOS#3028 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Koenkk/zigbee2mqtt#33855 ·
メンテナーはふだん 1 日以内に返信