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

[API server] attach setup of controllers #4931

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aylei
Copy link
Collaborator

@aylei aylei commented Mar 12, 2025

close #4783

The total time of first sky jobs launch is unchanged.

This PR:

image

Master:

image

Tested (run the relevant ones):

  • Code formatting: install pre-commit (auto-check on commit) or bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: /smoke-test (CI) or pytest tests/test_smoke.py (local)
  • Relevant individual tests: /smoke-test -k test_name (CI) or pytest tests/test_smoke.py::test_name (local)
  • Backward compatibility: /quicktest-core (CI) or conda deactivate; bash -i tests/backward_compatibility_tests.sh (local)

@aylei aylei requested review from Michaelvll and cg505 March 12, 2025 11:28
@aylei aylei marked this pull request as ready for review March 12, 2025 11:28
@aylei
Copy link
Collaborator Author

aylei commented Mar 12, 2025

/smoke-test -k test_managed_jobs_basic

Signed-off-by: Aylei <[email protected]>
@aylei
Copy link
Collaborator Author

aylei commented Mar 12, 2025

/smoke-test -k test_managed_jobs_basic

@@ -529,6 +529,13 @@ def launch(
]
skip_unnecessary_provisioning = True

detach_setup = True
if controller_utils.Controllers.from_name(cluster_name) is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can we just do detach_setup = controller_utils.Controllers.from_name(cluster_name) is not None?

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.

[UX] Show jobs controller setup logs for the first sky jobs launch
2 participants