Skip to content

Conversation

@aylei
Copy link
Collaborator

@aylei aylei commented Aug 30, 2025

Minimal repro:

$ sky launch -c c1 -y --cpus 2+ --cloud kubernetes
$ python test.py
$ cat test.py
from sky.client import sdk
import threading

threads = []
for i in range(30):
    thread = threading.Thread(target=sdk.tail_logs, args=('c1', None, True), daemon=True)
    threads.append(thread)
    thread.start()

for thread in threads:
    thread.join()

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 pytest tests/smoke_tests/test_backward_compat.py (local)

Signed-off-by: Aylei <rayingecho@gmail.com>
@aylei aylei closed this Sep 1, 2025
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.

2 participants