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

Improve message for the missed "workspace" option while using Org level tokens #1635

Open
2 of 4 tasks
afastronomer opened this issue Apr 26, 2024 · 0 comments
Open
2 of 4 tasks

Comments

@afastronomer
Copy link
Contributor

✍️ Is your feature request related to a problem? Please describe.

Current message is not very clear for customers why CLI failed and what has to be done.

Error: failed to get current Workspace: current workspace context not set, you can switch to a workspace with 
stro workspace switch WORKSPACEID
Run cd ./
/opt/actions-runner/_work/_temp/750566f7-88f2-42d7-87d2-7f9a311b6095.sh: line 13: conditional binary operator expected
.github/workflows/deploy-to-astro.yaml is not a DAG, triggering a full image build
Error: Process completed with exit code 2.

🧩 Describe the solution you'd like

Add something more explicit, e.g.

Probably you use Org level token without specifying a workspace ID.

Or even add a link to Doc page where we describe possible solutions.

🤔 Describe alternatives you've considered

Add an example into README with a workspace option usage and comment about Org level token.
Ideally to add feature AND example into README.

Is your feature request specific to a particular Astronomer Platform?

  • Astro
  • Software
  • None/Unknown
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