Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto update check should never run when generating completion #1074

Open
10kc-emilyk opened this issue Sep 6, 2024 · 0 comments
Open

Auto update check should never run when generating completion #1074

10kc-emilyk opened this issue Sep 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@10kc-emilyk
Copy link

Meta:

CircleCI CLI Version: 0.1.30995+77b1f51 (homebrew)

Operating System: macOS 14.6.1 23G93 arm64

CircleCI CLI Diagnostic:

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /Users/emily.klassen/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Trying an introspection query on API...
Ok.
Hello, Emily Klassen.

Current behavior:

Shell completion is sometimes slow, likely due to the auto update check. Digging in, i can see that the update check does run when generating completion

$ echo 'last_update_check: 2024-08-06T16:13:09.832482-07:00' > ~/.circleci/update_check.yml
$ circleci __complete ''
⠧ Checking for updates...

Expected behavior:

The update check should never run for the __complete command

When did this begin / Was this previously working?:

This was likely not previously working.

Additional Information:

@10kc-emilyk 10kc-emilyk added the bug Something isn't working label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant