Skip to content

Remove remaining SDK telemetry code#4332

Merged
samuelstroschein merged 1 commit intomainfrom
codex/remove-sdk-telemetry
Mar 12, 2026
Merged

Remove remaining SDK telemetry code#4332
samuelstroschein merged 1 commit intomainfrom
codex/remove-sdk-telemetry

Conversation

@samuelstroschein
Copy link
Member

@samuelstroschein samuelstroschein commented Mar 12, 2026

Summary

  • remove the remaining telemetry capture path from @inlang/sdk
  • stop persisting SDK telemetry-related metadata in new projects and remove the telemetry setting from the SDK schema/docs
  • remove the stale CLI appId caller and add a minor changeset for @inlang/sdk

Verification

  • pnpm test in packages/sdk
  • pnpm lint in packages/sdk
  • pnpm test in packages/cli
  • rg "posthog" packages/sdk docs/settings.md

Note

Medium Risk
Removes telemetry-related API surface (telemetry setting, appId parameter, env var) and deletes associated capture code/tests, which could impact downstream consumers relying on those fields.

Overview
Removes the SDK’s remaining telemetry functionality: deletes PostHog capture code/tests, stops emitting telemetry on project load, and stops writing telemetry-related Lix metadata during newProject().

Updates the project settings schema and docs to drop the telemetry setting, removes the CLI’s appId usage when loading projects, and adds a minor changeset for @inlang/sdk.

Written by Cursor Bugbot for commit 6e6ee7f. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2026

🦋 Changeset detected

Latest commit: 6e6ee7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@inlang/sdk Minor
@inlang/cli Patch
@inlang/plugin-i18next Patch
@inlang/plugin-m-function-matcher Patch
@inlang/plugin-t-function-matcher Patch
@inlang/rpc Patch
@inlang/editor-component Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@samuelstroschein samuelstroschein merged commit 0d08cc5 into main Mar 12, 2026
3 checks passed
@samuelstroschein samuelstroschein deleted the codex/remove-sdk-telemetry branch March 12, 2026 16:31
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
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