getsentry / getsentry/sentry-react-native

Support Hosted Source Maps for RN Hermes

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

説明

### Description

Currently Hosted Source Maps are not supported at all for RN. Usage of hosted source maps in RN is not common as the bundled JS is shipped with the application package. The use case can be for companies who can't upload source maps due to internal policies.

---

For JSC (not recommended, not default) the support would mean only testing the current implementation and writing a documentation page, as it works the same as browser JS.

---

For Hermes we would need to update the `sentry-cli upload` command to support linking a source mapping url to a Hermes bytecode bundle.

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

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

調査の方向性

まず、既存の sentry-cli のアップロードフローを追跡し、現在の JSC の hosted-source-map 実装と比較します。Hermes のバイトコードバンドルがどのように扱われているかを確認し、その後、Hermes バンドルが source-mapping URL にリンクできるように、文書化されている動作を追加します。JSC のパスも検証し、同様に文書化してください。

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

評価

技術スタック
javascript, react-native
領域
mobile, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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