garden icon indicating copy to clipboard operation
garden copied to clipboard

0.13: [Bug]: `exit` from dev mode tries to connect with cloud dashboard for logged out user

Open shumailxyz opened this issue 1 year ago • 1 comments

Garden Bonsai (0.13) Bug

Current Behavior

If a user runs logout in dev mode followed by exit, it shows following cloud-dashboard warning:

 cloud-dashboard      → Logged in to https://app.garden.io, but could not find the project 'garden-core'. Command results for this command run will not be available in Cloud Dashboard.

Screenshot 2023-05-24 at 18 05 06

Expected behavior

No connection should be made to cloud once user is logged out and user should not see any warning related to cloud.

Reproducible example

Steps:

  • Run garden login.
  • Run garden dev to enter dev mode.
  • Run logout in dev mode.
  • Run exit to exit dev mode and you'll see this warning.

Workaround

No workaround.

Your environment

  • OS: macOS
  • How I'm running Kubernetes: docker-desktop

garden version 0.13.0

shumailxyz avatar May 24 '23 16:05 shumailxyz

While this is a minor issue, it's rather awkward and would be nice to fix.

thsig avatar Feb 08 '24 11:02 thsig