Add a CI check for attribute keys not in Sentry Conventions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, typescript
Direzione di ricerca
Start by checking whether the shared cross-SDK conventions check is available; otherwise follow the issue’s suggested extraction from packages/core/src/js and compare keys with the installed @sentry/conventions types. Read buildandtest.yml to find where the check belongs and add an allowlist for warn-only mode. Done means the check runs on every PR in warn-only mode and has a documented path to strict mode after registration issues land.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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/jsand compares them with the installed@sentry/conventions.
Acceptance criteria
- The check runs in
buildandtest.ymlin 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 withdist/attributes.d.tsanddist/op.d.tsfrom@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).
- Lingua principale
- TypeScript
- Stelle
- 1.8k
- Fork
- 371
- Merge medio
- 22h 3m
- PR unite (30g)
- 106
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-react-native
-
React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-react-native#7073 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improvement React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
getsentry/sentry-react-native#7055 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
React-Native Replays Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
getsentry/sentry-react-native#6680 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improvement React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getsentry/sentry-react-native#6143 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
React-Native Task User Feedbacks
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
getsentry/sentry-react-native#5932 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/sentry-react-native
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
yavorsky/unbuilt.app#65 ·
-
CVE security
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mckinsey/agents-at-scale-ark#4091 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
factory:subtask
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
NUS-Project-SaBai/project-sabai#386 ·
I maintainer di solito rispondono entro 3 giorni
-
android needs clarification
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
super-productivity/super-productivity#12105 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno