Skip to content

fix(telemetry): disable usage telemetry in the CN region - #83

Closed
littleDogWang wants to merge 1 commit into
chore/cli-analytics-simplify-fixupsfrom
codex/cli-telemetry-global-only
Closed

littleDogWang wants to merge 1 commit into
chore/cli-analytics-simplify-fixupsfrom
codex/cli-telemetry-global-only

Conversation

@littleDogWang

Copy link
Copy Markdown
Collaborator

Summary

  • Skip usage telemetry for the CN API region in shell commands and MCP, including when a collector URL is explicitly configured.
  • Recheck the region before sending a batch to cover a command that switches to CN during execution.
  • Document the effective telemetry status and add regression coverage.

This PR is stacked on #79.

Verification

  • Ran the full Go test suite with go test -count=1 ./....
  • Ran the rebuilt CLI against the updated local SSP collector and a mock PostHog. CN shell and MCP runs produced zero telemetry requests and no installation ID. The Global control produced eight requests and ten events.

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