Skip to content

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

Merged
abrichr merged 13 commits intomainfrom
fix/add-readme-badges
Mar 17, 2026
Merged

feat: make telemetry opt-out and enforce anonymized user IDs#3
abrichr merged 13 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)

@abrichr abrichr merged commit 153d3cf into main Mar 17, 2026
1 check passed
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