Repository navigation
feat(ENG-15367): add cloudsmith telemetry status, id and reset - #572
Draft
tigh-latte wants to merge 1 commit into
Draft
tigh-latte wants to merge 1 commit into
tigh-latte wants to merge 1 commit into
Conversation
- telemetry status: shows whether usage telemetry would send and why not. - telemetry id: shows the install ID. - telemetry reset: deletes the install ID. Our release, binary and image workflows set CLOUDSMITH_NO_TELEMETRY so smoke tests send nothing. AGENTS.md gets the rules for working on usage telemetry. telemetry status applies typed flags (-S) the same way the send rules do. The macOS clean-room smoke test passes CLOUDSMITH_NO_TELEMETRY explicitly, since env -i drops the workflow's value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a
cloudsmith telemetrycommand group, so users can see what usage telemetry is doing and reset their install ID. It also keeps our own CI runs out of the data, and adds the rules for working on telemetry to AGENTS.md.statusgives the first reason telemetry is off, if it is: an opt-out, a development build, a non-Cloudsmith host and so on. It applies typed flags such as-Sthe same way the send checks do. Thetelemetrycommands never send telemetry themselves.Behaviour changes
binaries,dev-release,image-buildandreleaseworkflows setCLOUDSMITH_NO_TELEMETRY=1for the steps that run the CLI. Smoke tests are development noise. Because this variable also turns off error reporting, those steps no longer send Sentry reports either. The macOS clean-room smoke test passes it explicitly, sinceenv -idrops the workflow's value.Type of Change
Additional Notes
N/A: the CHANGELOG entry and user docs are left out until the design is final.
🤖 Generated with Claude Code