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

[UX] sky check: show enabled clouds in a table #3160

Merged
merged 4 commits into from
Feb 16, 2024
Merged

Conversation

concretevitamin
Copy link
Collaborator

@concretevitamin concretevitamin commented Feb 14, 2024

Changes

  • Show a nicer table at the end, since now we have many clouds and it's hard to see what's enabled.
  • Check clouds in alphabetical order
  • Changed colors
Screen Shot 2024-02-14 at 14 55 18

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
    • sky check then sky launch --down -y --use-spot --cpus 2
    • sky check -v
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

@concretevitamin concretevitamin added this to the v0.5 milestone Feb 15, 2024
Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving this @concretevitamin! This is very useful! I was trying to find the enabled clouds in the long mixed instructions and clouds. LGTM.

sky/check.py Outdated
Comment on lines 63 to 65
'If any problems remain, open an issue at: '
'https://github.com/skypilot-org/skypilot/issues/new',
dim=True))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can link to the installation page in our doc, which might be easier to see for the instructions: https://skypilot.readthedocs.io/en/latest/getting-started/installation.html

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, done.

Could you help check if the new colors look good in light mode?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it works nicely in the light mode:
image

@concretevitamin concretevitamin merged commit dad1654 into master Feb 16, 2024
19 checks passed
@concretevitamin concretevitamin deleted the sky-check-ux branch February 16, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants