Describe the bug
The docs and doppler completion --help recommend sourcing completions live from your shell rc:
source <(doppler completion) # zsh; bash is equivalent
The completion script is static text, but running doppler completion performs a network request every time : the anonymous analytics POST (and, when enabled, the update check).
Because it's sourced on every interactive shell start, shell startup blocks on that request. On a high-latency or flaky connection the delay is very noticeable, on every new shell/tab/split.
--no-check-version does not fix it: the analytics POST still fires. There appears to be no flag that makes completion fully offline.
To Reproduce
$ doppler --no-check-version completion --debug 2>&1 >/dev/null | grep -i http
Debug: Sending anonymous analytics payload: '{"command":"doppler.completion"}'
Debug: Performing HTTP POST to https://cli.doppler.com/v1/analytics
(Same analytics POST documented for secrets get in #511.) To see startup impact:
strace -f -e trace=connect zsh -i -c exit 2>&1 | grep AF_INET
Expected behavior
doppler completion should never make a network call: its output is static per CLI version.
Screenshots
N/A
Desktop (please complete the following information):
- OS: Arch Linux
- Version: zsh 5.9
CLI Version:
Version 3.76.0
Additional context
N/A
Describe the bug
The docs and
doppler completion --helprecommend sourcing completions live from your shell rc:The completion script is static text, but running
doppler completionperforms a network request every time : the anonymous analytics POST (and, when enabled, the update check).Because it's sourced on every interactive shell start, shell startup blocks on that request. On a high-latency or flaky connection the delay is very noticeable, on every new shell/tab/split.
--no-check-versiondoes not fix it: the analytics POST still fires. There appears to be no flag that makescompletionfully offline.To Reproduce
(Same analytics POST documented for
secrets getin #511.) To see startup impact:Expected behavior
doppler completionshould never make a network call: its output is static per CLI version.Screenshots
N/A
Desktop (please complete the following information):
CLI Version:
Version 3.76.0
Additional context
N/A