Skip to content

fix(login): telemetry answer persistence - #6133

Open
Aohzan wants to merge 3 commits into
scaleway:mainfrom
Aohzan:fix/login_interactive
Open

fix(login): telemetry answer persistence#6133
Aohzan wants to merge 3 commits into
scaleway:mainfrom
Aohzan:fix/login_interactive

Conversation

@Aohzan

@Aohzan Aohzan commented Sep 4, 2026

Copy link
Copy Markdown

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

When we do a scw login, currently it always asks for telemetry and autocomplete.
For telemetry, fix the fact that it was not looking the config file
For autocomplete, persist the answer in the cli.yaml

Reuse existing SendTelemetry value from config instead of re-prompting
on every login/init. Also persist SendTelemetry in the profile when
saving config so the answer is not lost on subsequent runs.
Store the autocomplete installation answer in cli.yaml so the question
is only asked once. On subsequent init/login runs, the existing
preference is reused instead of re-prompting.
@Aohzan
Aohzan requested review from a team and remyleone as code owners September 4, 2026 15:36
@Aohzan Aohzan changed the title Fix/login interactive fix(login): telemetry answer persistence Sep 4, 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.

1 participant