Skip to content

chore: remove all PostHog and Sentry telemetry#1

Merged
Patrick-Erichsen merged 3 commits into
mainfrom
pe/strip-telemetry
Mar 19, 2026
Merged

chore: remove all PostHog and Sentry telemetry#1
Patrick-Erichsen merged 3 commits into
mainfrom
pe/strip-telemetry

Conversation

@Patrick-Erichsen
Copy link
Copy Markdown

Summary

  • Strip all PostHog and Sentry telemetry so the product works without phoning home
  • Delete core telemetry files and remove all capture/report calls from 80+ files across core, GUI, VSCode, CLI, and IntelliJ
  • Remove all posthog-* and @sentry/* dependencies, plugins, and build scripts
  • Create lightweight IdeInfoService and uniqueId modules for non-telemetry request headers
  • Keep OpenTelemetry in CLI (user-configured, not phoning home)

Test plan

  • VSCode extension builds and runs
  • IntelliJ plugin builds (./gradlew build) and launches (./gradlew runIde)
  • No network requests to posthog.com or sentry.io observed in dev tools
  • No PostHog/Sentry API keys in shipped code
  • Audit confirmed no remaining telemetry code or no-op stubs

🤖 Generated with Claude Code

Patrick-Erichsen and others added 3 commits March 19, 2026 15:15
Strip all PostHog and Sentry telemetry from the codebase so the product
works without phoning home. OpenTelemetry (CLI, user-configured) is kept.

- Delete core telemetry files (posthog.ts, SentryLogger, TeamAnalytics, TokensBatchingService)
- Remove all capture/report calls from 80+ caller files across core, GUI, VSCode, CLI, IntelliJ
- Remove posthog-node, posthog-js, @sentry/* dependencies from all package.json files
- Remove PostHog/Sentry plugins and build scripts
- Create IdeInfoService.ts and uniqueId.ts for non-telemetry request headers
- Remove PostHog API key from docs config
- Remove posthog from analytics provider config schema

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Clean up stale comments, spec docs, build config, and lock files
that still referenced PostHog/Sentry after the telemetry removal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Patrick-Erichsen Patrick-Erichsen merged commit 20e0f1b into main Mar 19, 2026
7 checks 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