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] Fix --install-shell-completion when SKYPILOT_DEBUG is set #3642

Closed
wants to merge 1 commit into from

Conversation

Michaelvll
Copy link
Collaborator

@Michaelvll Michaelvll commented Jun 6, 2024

sky --install-shell-completion auto will have the debug info in the completion script causing issue when source ~/.bashrc.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
    • export SKYPILOT_DEBUG=1; sky --install-shell-completion
  • 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: conda deactivate; bash -i tests/backward_compatibility_tests.sh

@Michaelvll Michaelvll requested a review from cblmemo June 6, 2024 03:14
@Michaelvll
Copy link
Collaborator Author

Hmm, failed to reproduce it anymore... Closing it for now.

@Michaelvll Michaelvll closed this Jun 6, 2024
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.

1 participant