getsentry / getsentry/sentry-javascript

AI integration tests don't assert absence of PII when sendDefaultPii is false

Aperta
#19,801 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue javascript Tests
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

All AI provider integration tests use `expect.objectContaining()` to verify span data when `sendDefaultPii: false`. The PII attributes are simply omitted from the expected object rather than explicitly asserted as absent. This means a regression that leaks PII attributes onto spans when `sendDefaultPii` is disabled would pass all existing tests.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.