Skip to content

feat(telemetry): report auth success and MCP connection outcomes - #1288

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9017-telemetry-auth-mcp-2
Oct 2, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9017-telemetry-auth-mcp-2

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Provider setup reports auth_success with the classified first-party provider on OAuth login and validated API-key submit
  • Every MCP server connection attempt reports mcp_connect with transport and settled outcome, and every browser-OAuth callback wait reports mcp_oauth
  • All three events carry enum-only properties: no server names, URLs, commands, or error text leave the process

Verification

  • bun run typecheck, bun run build, and bun run test pass (bun run check exit 0; 7895 pass, 0 fail)
  • New leak tests in src/mcp/client-telemetry.test.ts assert identifying names and URLs appear nowhere in the serialized PostHog batch body

Fixes CL-9017

@linear-code

linear-code Bot commented Oct 2, 2026

Copy link
Copy Markdown

CL-9017

@TheGreatAxios
TheGreatAxios merged commit 4ab1b2d into main Oct 2, 2026
13 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