getsentry / getsentry/sentry-react-native
Implement exception groups (AggregateError)
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 366
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 93
説明
### Description
React Native SDK currently supports linked exceptions using [`cause`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) but doesn't support [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError).
```[tasklist]
### Blocked by
- [ ] https://github.com/getsentry/sentry/issues/59679#issuecomment-1920193704
```
### Related information
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
- https://github.com/getsentry/rfcs/blob/main/text/0079-exception-groups.md#example-event
- https://github.com/getsentry/sentry-javascript/pull/8463
### Notes
- Implementing this might likely change grouping so it should be done in a major version.
### Works
```json
{
"message": "Third",
"cause": {
"message": "Second",
"cause": {
"message": "First",
}
}
}
```
### Not implemented at the moment
```json
{
"message": "Third",
"errors": [
{
"message": "First",
},
{
"message": "Second",
},
]
}
```
コントリビューションガイド
調査の方向性
実装ファイル、テスト、エントリーポイントのいずれも指定されていません。まず、リンクされている exception-groups RFC、AggregateError のリファレンス、関連する sentry-javascript の pull request を読み、ブロッキングしている Sentry issue を確認してください。React Native のイベントが、ドキュメント化された例と一貫する形で AggregateError's errors array を表現し、グルーピングへの影響にも対処できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- mobile, observability
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100