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

astro workspace switch will take a workspace name and then functionality breaks #1654

Closed
1 of 3 tasks
techgnosis opened this issue May 21, 2024 · 0 comments
Closed
1 of 3 tasks
Assignees

Comments

@techgnosis
Copy link

The CLI lets you do astro workspace switch to a workspace name, and after that the deployment commands stop working.

% astro workspace switch ticket-test              
 CONTROLPLANE                        WORKSPACE                           
 astronomer.io                       ticket-test                         
% astro deployment list             
Error: Invalid query parameter values: field workspaceIds[0] failed check on isCuid;
% astro workspace switch clrv6gfd...odxwm8os0
 CONTROLPLANE                        WORKSPACE                           
 astronomer.io                       clrv6gfd...modxwm8os0           
% astro deployment list                           
 NAME     NAMESPACE                   CLUSTER     CLOUD PROVIDER     REGION        DEPLOYMENT ID                 RUNTIME VERSION                     DAG DEPLOY ENABLED     CI-CD ENFORCEMENT     DEPLOYMENT TYPE     
 test     spherical-diameter-5822     N/A         AWS                us-east-1     clwfhm7t012s101gpcrcmvtpx     11.3.0 (based on Airflow 2.9.1)     true                   false                 STANDARD

What CLI Version did you experience this bug?
1.27.1

This CLI bug is related to which Astronomer Platform?

  • Astro
  • Software
  • None/Unknown

What Operating System is the above CLI installed on?
macOS

🪜 Steps To Reproduce

% astro workspace switch ticket-test              
 CONTROLPLANE                        WORKSPACE                           
 astronomer.io                       ticket-test                         
% astro deployment list             
Error: Invalid query parameter values: field workspaceIds[0] failed check on isCuid;
% astro workspace switch clrv6gfdp...odxwm8os0
 CONTROLPLANE                        WORKSPACE                           
 astronomer.io                       clrv6gfdp...modxwm8os0           
% astro deployment list                           
 NAME     NAMESPACE                   CLUSTER     CLOUD PROVIDER     REGION        DEPLOYMENT ID                 RUNTIME VERSION                     DAG DEPLOY ENABLED     CI-CD ENFORCEMENT     DEPLOYMENT TYPE     
 test     spherical-diameter-5822     N/A         AWS                us-east-1     clwfhm7t012s101gpcrcmvtpx     11.3.0 (based on Airflow 2.9.1)     true                   false                 STANDARD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants