Skip to content

feat: make telemetry opt-out and enforce anonymized user IDs#3

Open
abrichr wants to merge 5 commits intomainfrom
fix/add-readme-badges
Open

feat: make telemetry opt-out and enforce anonymized user IDs#3
abrichr wants to merge 5 commits intomainfrom
fix/add-readme-badges

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 6, 2026

Summary

  • keep telemetry opt-out by default (enabled unless user disables)
  • enforce anonymized user identity only in telemetry payloads
  • drop non-anonymous user fields before sending
  • add tests covering anonymized user handling and before_send user scrubbing

Details

  • config default remains enabled=true
  • set_user(...) now hashes input and ignores extra user fields
  • before_send reduces event.user to only an anonymized id
  • added deterministic anonymization helper and tests

Validation

  • pytest -q passes (87 tests)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant