getsentry / getsentry/sentry-javascript

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

Đang mở
#19,801 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
good first issue javascript Tests
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.