getsentry / getsentry/sentry-react-native

Mark unhandled promise rejections as `handled: false`

オープン
#4,141 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Errors Feature React-Native
主要言語
TypeScript
スター
1.8k
フォーク
366
平均マージ
1日 6時間
マージ済み PR(30日)
94

説明

### 🛑 Blocked by backend Release Health changes

This change would require change of calculating crash rate independent of `handled: false`. As rejected promises do not cause a crash in RN.

### Description

We can't do this at the moment because the `handled` flag is used to calculate the Crash Rate in the Release Health product.

- Related to https://github.com/getsentry/sentry-react-native/issues/4093
- Related to Stale RFC https://github.com/getsentry/rfcs/pull/10
- The same issue as Flutter Unhandled Errors which do not cause crash of the app

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue は Release Health のバックエンド変更によってブロックされているため、まず関連する issue 4093 と rfc/10 にある古い RFC を読んでください。React Native SDK を変更する前に、拒否された Promise が Release Health のクラッシュ率の計算にどのような影響を与えるかを確認してください。未処理の Promise rejection を handled: false としてマークしてもクラッシュ率が誤って増加しないようにできれば完了です。

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

評価

技術スタック
react-native, typescript
領域
mobile, observability
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

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

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