astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
350 stars 70 forks source link

Add ability to switch workspaces with name #1655

Closed kushalmalani closed 4 months ago

kushalmalani commented 4 months ago

Description

Describe the purpose of this pull request.

Add ability to switch workspaces with name. We will save the workspaceId in the .astro/config.yaml file

๐ŸŽŸ Issue(s)

Related #1654

๐Ÿงช Functional Testing

List the functional testing steps to confirm this feature or fix.

๐Ÿ“ธ Screenshots

Add screenshots to illustrate the validity of these changes.

Switch workspaces using name Screenshot 2024-05-21 at 08 44 14

Switch workspaces via selection Screenshot 2024-05-21 at 08 44 26

๐Ÿ“‹ Checklist

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 86.36364% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 86.73%. Comparing base (63fc28c) to head (64a3bb1).

Files Patch % Lines
cloud/workspace/workspace.go 87.50% 1 Missing and 1 partial :warning:
cmd/cloud/workspace.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1655 +/- ## ========================================== - Coverage 86.77% 86.73% -0.04% ========================================== Files 114 114 Lines 16700 16707 +7 ========================================== Hits 14491 14491 - Misses 1323 1328 +5 - Partials 886 888 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.