Next major: migrate deprecated frame attributes, vitals measurements and span ops
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react-native, typescript
- 領域
- mobile
調査の方向性
Start with the listed entry points: src/js/tracing/timetodisplay.tsx, src/js/tracing/integrations/nativeFrames.ts, src/js/tracing/integrations/appStart.ts, src/js/measurements.ts, src/js/tracing/utils.ts, src/js/tracing/integrations/stalltracking.ts, and src/js/touchevents.tsx. Coordinate the frames.* changes with sentry-cocoa and sentry-java, and confirm Mobile Vitals reads the replacement names before removing old keys. Done when deprecated keys are no longer sent and the breaking changes appear in the migration guide.
索引モデルが issue の本文から書いたものです。
説明
These keys are deprecated in Sentry Conventions. Relay backfills them, so queries on the new names already work, and Mobile Vitals still reads the old measurements from transactions. Renaming them in the SDK is breaking, so it belongs in the next major.
Changes
| Today | Replacement |
|---|---|
span data frames.total, frames.slow, frames.frozen |
app.vitals.frames.total.count, .slow.count, .frozen.count |
span data frames.delay |
app.vitals.frames.delay.value |
measurements app_start_cold, app_start_warm |
app.vitals.start.cold.value, .warm.value (or the unified value if sentry-conventions#576 lands) |
measurements time_to_initial_display, time_to_full_display |
app.vitals.ttid.value, app.vitals.ttfd.value |
measurement stall_total_time |
app.vitals.stall.duration |
op ui.action.touch (only if we decide to move it) |
ui.interaction.press |
Coordination
sentry-cocoa and sentry-java send the same frames.* keys on native spans, so coordinate the switch to keep data consistent across layers. Confirm that the Mobile Vitals product reads the new names before dropping the old ones.
Acceptance criteria
- None of the deprecated keys above are sent.
- The breaking changes are listed in the migration guide.
Agent notes
frames.*:src/js/tracing/timetodisplay.tsx(lines 604–606 and 690).src/js/tracing/integrations/nativeFrames.ts(lines 191–203).src/js/tracing/integrations/appStart.ts(lines 339–341 and 849).
- Measurements:
src/js/measurements.ts.src/js/tracing/utils.ts(line 68, TTID/TTFD).src/js/tracing/integrations/stalltracking.ts.
- Op:
src/js/touchevents.tsx(line 285).
- 主要言語
- 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
-
area:config bug priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Doezer/Questarr#1451 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sidebandstudio/clawtrate#1156 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
WenyuChiou/agent-board#1993 ·
メンテナーはふだん 1 日以内に返信
-
bug design
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Colorado-Startups/coloradostartups.org#151 ·
メンテナーはふだん 1 日以内に返信
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jarrodwatts/claude-hud#883 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信