feat(expo): OTA-update Release Health
维护者通常 1 天内回复
@antonis 已经在做这个了。
开始于 2026年10月1日。
评估
这个 Issue 还没有评估数据。
描述
Problem Statement
EAS Update (and CodePush) shops ship JS over-the-air many times between native binary releases. Today the binary release (e.g. [email protected]+42) is the unit of Release Health, so every OTA update that runs on top of that binary rolls up into the same crash-free curve and the same adoption number. There's no way to see "update X is crashier than update X-1" or "update X has reached 60% adoption" — the questions an OTA-first team asks after every publish.
We already surface the running update as filterable metadata:
ota_updatesevent context (update_id,channel,runtime_version, launch flags…),
synced to native so native crashes carry it —integrations/expocontext.ts- searchable tags
expo.updates.update_id/channel/runtime_version - update-lifecycle breadcrumbs + spans (
app.update.check/app.update.download) —
integrations/expoupdateslistener.ts
All of it is a filter, not a Release Health unit: you can slice issues by update, but you cannot get a per-update adoption or crash-free-sessions curve.
Suggested Solution
Add an opt-in, default-off SDK option (working name: , final name TBD) that, when an Expo update is running, makes each OTA update its own Sentry Release — unlocking per-update Release Health (crash-free rate + adoption) with no native rebuild and no manual ~~expoUpdatesReleaseHealth~~ config.~~Sentry.init~~
Behaviour:
When on and an update is running, derive,~~release = <id>@<version>+<updateId>~~
readingsynchronously from~~updateId~~(no new~~RN_GLOBAL_OBJ.expo.modules.ExpoUpdates~~
dependency, no async).Default off — turning it on re-buckets Release Health, so it must be explicit.Respects an explicit~~release~~~~ (and/ build-time overrides) — never~~~~SENTRY_RELEASE~~
clobbers a user-set value.Propagates to native at init so native crashes during that update land on the same
release (~~release~~~~ is already forwarded via).~~~~wrapper.ts initNativeSdk~~Embedded / no-update launch falls back to the normal native-build release.Ships with docs covering the source-map matching caveat (artifacts for the OTA bundle
must be uploaded under the same per-update release) and expected Releases-list volume for
high-frequency publishers.
Alternative considered
Add an OTA dimension to the session data model
Release Health is computed from session payloads, not error events. Per the session spec, a session's attrs is exactly four fields:
| attr | notes |
|---|---|
release |
required — the grouping dimension for Release Health |
environment |
|
ip_address |
not persisted |
user_agent |
not persisted |
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 371
- 平均合并
- 22 小时 3 分钟
- 30 天内合并 PR
- 106
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
yavorsky/unbuilt.app#65 ·
-
CVE security
难度 2/5 1-3 小时 新手友好度 68/100
mckinsey/agents-at-scale-ark#4091 · 1 条评论 ·
维护者通常 1 天内回复
-
factory:subtask
难度 1/5 1 小时以内 新手友好度 94/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
NUS-Project-SaBai/project-sabai#386 ·
维护者通常 3 天内回复
-
android needs clarification
难度 2/5 1-3 小时 新手友好度 72/100
super-productivity/super-productivity#12105 · 3 条评论 ·
维护者通常 1 天内回复