getsentry / getsentry/sentry-javascript
AI integration tests don't assert absence of PII when sendDefaultPii is false
Abierto
good first issue
javascript
Tests
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 1.8k
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 523
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.