-
Notifications
You must be signed in to change notification settings - Fork 245
Description
Meta:
CircleCI CLI Version:
$ circleci version
0.1.34038+3fea946 (homebrew)
Operating System:
$ uname -mrsv
Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:56 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6041 arm64
CircleCI CLI Diagnostic:
---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /Users/jasonkarns/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Hello, Jason Karns.
Current behavior:
I ran circleci setup and provided an api token. And then it generated files in my homedir.
$ ls ~/.circleci/
cli.yml telemetry.yml update_check.yml
Expected behavior:
I expected any auth files/ config files / cache files to be written to directories respecting $XDG_* variables.
Nothing should have been written to my homedir. Firstly because XDG has default locations for all of those files. But even moreso because I have the xdg env vars set explicitly:
$ echo $XDG_
$XDG_CACHE_HOME $XDG_CONFIG_DIRS $XDG_CONFIG_HOME $XDG_DATA_DIRS $XDG_DATA_HOME $XDG_RUNTIME_DIR $XDG_STATE_HOME
cli.yml should have been written to config-home; update_check should have been written to cache home or state home. telemetry to data maybe? I don't know what is in all these files.