Skip to content

fix: honor the --no-telemetry CLI flag - #67

Merged
bespoyasov merged 1 commit into
spotify:mainfrom
Benziza:fix/no-telemetry-flag
Sep 9, 2026
Merged

fix: honor the --no-telemetry CLI flag#67
bespoyasov merged 1 commit into
spotify:mainfrom
Benziza:fix/no-telemetry-flag

Conversation

@Benziza

@Benziza Benziza commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Fixes --no-telemetry, which currently exits with Unknown argument: telemetry instead of starting the wizard.

Yargs treats the flag as telemetry=false, but the CLI registers it as no-telemetry. This change aligns the option and handler so the documented flag works. The environment-variable opt-out is preserved.

Added five regression tests. Three fail before the fix; all five pass afterward. Typecheck, ESLint, build, and formatting for the changed files pass.

Local validation was on Windows: the full suite has 179 passing tests and 10 UI failures. Those same 10 tests also fail on unchanged main. pnpm qa also stops at formatting CLAUDE.md, which is checked out as a regular file instead of its symlink on Windows. E2E tests were not run locally.

  • All tests are passing
  • Linter/style run on changed files
  • Regression tests added for the bug fix

@bespoyasov bespoyasov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice, thank you! Will merge it now.

the full suite has 179 passing tests and 10 UI failures.

Thanks for flagging! We'll check and update the tests and linting on Windows

@bespoyasov
bespoyasov merged commit 37b8984 into spotify:main Sep 9, 2026
4 checks passed
@bespoyasov bespoyasov mentioned this pull request Sep 10, 2026
5 tasks
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