Skip to content

fix(cli): send no telemetry on --dry-run - #145

Merged
filipmyllari merged 1 commit into
mainfrom
dry-run-no-telemetry
Dec 2, 2026
Merged

filipmyllari merged 1 commit into
mainfrom
dry-run-no-telemetry

Conversation

@filipmyllari

Copy link
Copy Markdown
Collaborator

Why

Split out of #122 on review. --dry-run means "preview without executing", but it still sent telemetry.

What

The telemetry middleware skips initialization when --dry-run is set. This applies to every command.

Testing

pnpm qa passes. Two new CLI tests check that a dry-run sends no telemetry and a normal command still does. The first fails without the fix.

🤖 Generated with Claude Code

A dry-run previews a command without network calls, so telemetry is
skipped too, for every command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@filipmyllari
filipmyllari merged commit 0482912 into main Dec 2, 2026
7 checks passed
@filipmyllari
filipmyllari deleted the dry-run-no-telemetry branch December 2, 2026 13:13
@github-actions github-actions Bot mentioned this pull request Dec 2, 2026
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