Skip to content

[Chart] Persist the whole sky_logs dir - #9454

Merged
DanielZhangQD merged 2 commits into
masterfrom
5321
Apr 27, 2026
Merged

DanielZhangQD merged 2 commits into
masterfrom
5321

Conversation

@DanielZhangQD

@DanielZhangQD DanielZhangQD commented Apr 26, 2026 •

Copy link
Copy Markdown
Collaborator

Persist the whole sky_logs dir, since we have moved the request logs out of it.

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)
    • Fresh helm installation, sky_logs dir is persisted /dev/sdd 9.8G 1.7M 9.8G 1% /root/sky_logs
    • Upgrade from previous installation, sky_logs dir is persisted, and the logs in sky_logs/managed_jobs sky_logs/jobs_controller are preserved after upgrade
  • 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)

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the api-deployment.yaml template to mount the entire /root/sky_logs directory instead of specific subdirectories for managed jobs and the jobs controller. Corresponding test cases in deployment_test.yaml have been updated to verify the presence of the new mount path and the absence of the deprecated sub-paths. I have no feedback to provide.

@DanielZhangQD
DanielZhangQD requested a review from aylei April 27, 2026 01:30
@DanielZhangQD
DanielZhangQD marked this pull request as ready for review April 27, 2026 01:30
@DanielZhangQD
DanielZhangQD merged commit 6578549 into master Apr 27, 2026
23 checks passed
@DanielZhangQD
DanielZhangQD deleted the 5321 branch April 27, 2026 02:24
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