Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.

feat: Add PostHog install telemetry#20

Merged
mslipper merged 4 commits into
mainfrom
install-posthog-telemetry
Mar 29, 2026
Merged

feat: Add PostHog install telemetry#20
mslipper merged 4 commits into
mainfrom
install-posthog-telemetry

Conversation

@mslipper

Copy link
Copy Markdown
Contributor

Summary

  • Send an anonymous PostHog event on successful install capturing version, OS, and architecture
  • Uses a random UUID as distinct_id to avoid collecting PII
  • Runs in the background with a 5s timeout so it never blocks or breaks the installer

Send a lightweight anonymous event to PostHog on successful install,
capturing version, OS, and architecture. Uses a random UUID as the
distinct ID to avoid collecting any PII. The request runs in the
background with a short timeout so it never blocks or breaks the
installer.
Wrapping in ( ... &) detaches the background process from the parent
shell, preventing it from being killed when the script exits. Uses a
subshell instead of disown for POSIX sh compatibility.
@mslipper mslipper merged commit ed69bfe into main Mar 29, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant