Skip to content

docs(cli): remove the outdated telemetry design doc - #7725

Merged
kanadgupta merged 2 commits into
developfrom
kanad-claude/remove-telemetry-design-doc
Nov 19, 2026
Merged

kanadgupta merged 2 commits into
developfrom
kanad-claude/remove-telemetry-design-doc

Conversation

@kanadgupta

@kanadgupta kanadgupta commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Split out from #7699, which stops passing SENTRY_DSN to the build. Review there noted that this doc still describes Sentry, with a SENTRY_DSN, as the current telemetry backend.

  • Removes docs/telemetry.md, an early design doc that described Sentry and Grafana as the telemetry backends, along with collection and consent designs the CLI never shipped. apps/cli/docs/analytics.md and apps/cli/docs/tracing-monitoring.md document how analytics and tracing work today.
  • Points the "See Also" link in ADR 0002 at those two docs. The ADR's decision text is unchanged.
  • Drops a line in analytics.md that described Sentry as a current telemetry system.

Linked issue

Part of CLI-3161

🤖 Generated with Claude Code

docs/telemetry.md described Sentry as the live telemetry backend. Analytics
and tracing are documented in apps/cli/docs, so ADR 0002 now links there.

Generated with AI

Co-Authored-By: Claude <noreply@anthropic.com>
@kanadgupta
kanadgupta requested a review from a team as a code owner November 19, 2026 19:06
@github-actions

Copy link
Copy Markdown
Contributor

CLI benchmark (Lightweight Commands): no changes found

Commit 277c98a against develop at 7a8313d · 10 runs each · report only, never blocks merging

Command Workload Before After Change
supabase --version version 207 ms 210 ms no real change
supabase --help help 221 ms 210 ms no real change
supabase init init 212 ms 206 ms no real change
supabase migration new bench migration-new 210 ms 207 ms no real change
supabase config convert config-convert 235 ms 228 ms no real change
supabase config validate config-validate 256 ms 252 ms no real change
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 277 ms 262 ms no real change (-5%, within normal variation)
supabase projects list projects-list 288 ms 259 ms no real change (-10%, within normal variation)
supabase functions list --project-ref replayfixtureprojref functions-list 279 ms 267 ms no real change

API calls: unchanged for all 9 commands.

Binary size: 135.3 MB, unchanged.

Details: timing ranges, API calls per command, slowest phases

Timing ranges

Command Workload Before range After range Change Verdict
supabase --version version 195-219 ms 190-263 ms +3 ms (+1%) within noise
supabase --help help 199-283 ms 197-267 ms -11 ms (-5%) within noise
supabase init init 187-276 ms 179-255 ms -5 ms (-3%) within noise
supabase migration new bench migration-new 189-236 ms 189-242 ms -3 ms (-1%) within noise
supabase config convert config-convert 213-255 ms 207-264 ms -6 ms (-3%) within noise
supabase config validate config-validate 230-382 ms 234-288 ms -5 ms (-2%) within noise
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 258-294 ms 241-278 ms -15 ms (-5%) within noise
supabase projects list projects-list 250-340 ms 247-285 ms -30 ms (-10%) within noise
supabase functions list --project-ref replayfixtureprojref functions-list 233-337 ms 230-291 ms -13 ms (-5%) within noise

API calls per command

Command Workload Before After Endpoint changes
supabase --version version 0 0
supabase --help help 0 0
supabase init init 0 0
supabase migration new bench migration-new 0 0
supabase config convert config-convert 0 0
supabase config validate config-validate 0 0
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 2 2
supabase projects list projects-list 1 1
supabase functions list --project-ref replayfixtureprojref functions-list 2 2

Slowest phases

No command moved beyond noise, so there are no phase deltas.

Workflow run

Comment /bench to run the lightweight benchmark (this comment) again on the latest commit, or /bench full to also run the integration-heavy benchmark, which posts in its own comment.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 AI Review

CLI reference prose guidance: not applicable (no reference sources changed).

The PR removes the legacy telemetry design document and adds two working links to ADR 0002. One documentation nit is confirmed. The new links point readers to PostHog analytics and opt-in tracing while the ADR still presents Sentry as the current backend. The diff changes no CLI behavior and does not conflict with the pending work on next. CLI reference prose review was not applicable.

Findings

Severity Location Category Sources Claim
⚪ NIT docs/adr/0002-cli-product-metrics.md:155 docs-consistency claude The new See Also links make ADR 0002 read as two conflicting accounts of the current telemetry implementation. Its Infrastructure table still labels Sentry as the backend in use for product metrics and traces, while the linked guides describe PostHog for product analytics and a separate opt-in tracing path.

Stats

Claude findings: 1 · Codex findings: 0 · Confirmed: 1 · Refuted: 0 · Uncertain: 0


Models: claude-opus-5-5 + gpt-6.2-sol · Trigger: auto · Workflow run

This review runs once per PR. A maintainer can request another with a /ai-review comment.

Comment thread docs/adr/0002-cli-product-metrics.md Resolved
Generated with AI

Co-Authored-By: Claude <noreply@anthropic.com>
@kanadgupta
kanadgupta enabled auto-merge November 19, 2026 19:18
@kanadgupta
kanadgupta added this pull request to the merge queue Nov 19, 2026
Merged via the queue into develop with commit 04881c9 Nov 19, 2026
53 checks passed
@kanadgupta
kanadgupta deleted the kanad-claude/remove-telemetry-design-doc branch November 19, 2026 19:22
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.

2 participants