Skip to content

Remove app_usage telemetry entirely (re-land of #366)#421

Merged
TeoSlayer merged 1 commit into
mainfrom
fix/remove-app-usage-telemetry
Jul 24, 2026
Merged

Remove app_usage telemetry entirely (re-land of #366)#421
TeoSlayer merged 1 commit into
mainfrom
fix/remove-app-usage-telemetry

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

Re-lands the app_usage telemetry removal from #366 (its branch was deleted on close). Removes the consent-gated app_usage telemetry emitter from the app-store call path (daemon adapter + pilotctl), preserving main's newer renderNextSteps logic. Builds + vets clean.

Closes the intent of #366.

🤖 Generated with Claude Code

What an agent calls in the app store is nobody's business. Previously a
successful 'pilotctl appstore call' (CLI) and every network app invocation
(daemon appstore adapter) emitted an app_usage telemetry event carrying the
app ID and method name. Both emission sites are removed:

- cmd/pilotctl/appstore.go: drop the post-call telemetry send.
- cmd/daemon/appstore_adapter.go: remove telemetryEmitter; the appstore
  service now runs with a nil Telemetry emitter (documented no-op).
- cmd/daemon/main.go: drop the now-unused telemetryURL/identityPath/getNodeID
  wiring from the adapter literal.

app_usage is gone from the wire — no consent flag, no -telemetry-url can
re-enable it. catalogue_viewed / appstore_view / app_installed events are
unchanged and remain consent-gated.

Verified with GOWORK=off (repo go.work overlays a stale app-store checkout,
pre-existing breakage): go build + go vet clean, cmd/pilotctl + pkg/telemetry
tests pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@TeoSlayer
TeoSlayer enabled auto-merge July 24, 2026 11:04
@TeoSlayer
TeoSlayer merged commit 0a7cd75 into main Jul 24, 2026
14 checks passed
@TeoSlayer
TeoSlayer deleted the fix/remove-app-usage-telemetry branch July 24, 2026 11:06
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