Skip to content

ci: set DO_NOT_TRACK to keep CI out of the telemetry stream - #77

Open
sizeak wants to merge 1 commit into
mainfrom
ci-disable-telemetry
Open

ci: set DO_NOT_TRACK to keep CI out of the telemetry stream#77
sizeak wants to merge 1 commit into
mainfrom
ci-disable-telemetry

Conversation

@sizeak

@sizeak sizeak commented Jul 22, 2026

Copy link
Copy Markdown

Why

claude-commander-core bakes a telemetry ingest credential into every build (BAKED_CREDENTIAL_RAW), and its cfg!(test) opt-out only suppresses core's own test runs — it does not extend to us as a downstream consumer. So CC-GUI builds ship with live telemetry armed; the only thing keeping CI quiet today is that no job actually runs the Rust backend.

I audited this against the live usage stream: all cc-gui telemetry comes from real macOS developer machines (stable install_ids over days, genuine interactive features), and there are zero linux/x86_64 events — i.e. the ubuntu CI runners emit nothing. CI is not leaking today.

What this changes

Adds a workflow-level env: DO_NOT_TRACK: "1" to ci.yml, tests.yml, and release.yml as a defensive guard. It's a no-op right now, but the day someone adds a cargo test job that constructs a CommanderService, or an e2e job that launches the packaged app, this keeps those runs out of the live commander_usage stream without anyone having to remember to do it.

No behavioural change to the app or its builds.

🤖 Generated with Claude Code

claude-commander-core bakes a telemetry ingest credential into every build,
and its `cfg!(test)` opt-out only suppresses core's own test runs — not ours
as a downstream consumer. No CI job runs the Rust backend today (clippy only
compiles, the .iwft layer simulates Tauri, tauri-action only builds), so
nothing is emitted. This is a defensive guard: the day a job builds a
CommanderService or launches the bundle, DO_NOT_TRACK keeps those runs out of
the live usage stream.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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