Skip to content

feat: add PostHog usage events + release automation#2

Merged
abrichr merged 3 commits intomainfrom
feat/posthog-usage-events
Mar 5, 2026
Merged

feat: add PostHog usage events + release automation#2
abrichr merged 3 commits intomainfrom
feat/posthog-usage-events

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 5, 2026

Summary

  • add openadapt_telemetry.posthog with privacy-safe usage event capture
  • expose capture_usage_event and capture_posthog_event in package API
  • add release/test GitHub Actions for semantic-release + trusted publishing to PyPI
  • add tests for PostHog usage event behavior and docs for env config

Validation

  • ruff check on changed files
  • PYTHONPATH=src uv run pytest -q tests/test_posthog.py (4 passed)

Follow-ups

  • configure PyPI trusted publisher for openadapt-telemetry
  • set ADMIN_TOKEN repo secret for protected-branch semantic-release pushes

@abrichr abrichr merged commit a02e3d1 into main Mar 5, 2026
1 check passed
@abrichr abrichr deleted the feat/posthog-usage-events branch March 5, 2026 19:47
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