You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a CI check for attribute keys not in Sentry Conventions #7056
Add a CI check that flags attribute keys and span ops the SDK sends that aren't in Sentry Conventions, or are deprecated there.
Rollout
Warn-only: run the check on every PR. Existing keys go on an allowlist.
Shrink the allowlist as the registration issues in this project land.
Strict: fail the build on new keys that aren't registered. The allowlist ends up empty, or holds only breaking renames scheduled for the next major.
Approach
Prefer the shared cross-SDK check once it exists, with a small RN config.
If it isn't available yet, add an interim script that extracts the keys from packages/core/src/js and compares them with the installed @sentry/conventions.
Acceptance criteria
The check runs in buildandtest.yml in warn-only mode, with an allowlist file.
It's switched to strict mode once the registration issues are done.
Agent notes
The sweep that produced this project extracted every dotted string literal from src/js (tests excluded), compared them with dist/attributes.d.ts and dist/op.d.ts from @sentry/conventions, and filtered out paths, modules and file names. The same approach works as an interim script.
It doesn't catch dynamically built keys (template strings). The TurboModule per-method keys were the only ones, and they're removed by the TurboModule rename issue.
CI workflow changes need maintainer approval (AGENTS.md: Ask first).
Activity
linear-code commentedon Nov 17, 2026
RN-865