Skip to content

feat: support configurable Ray temp directory (#693)#694

Merged
dengwx2009 merged 2 commits intomasterfrom
feature/ray_temp_dir
Mar 28, 2026
Merged

feat: support configurable Ray temp directory (#693)#694
dengwx2009 merged 2 commits intomasterfrom
feature/ray_temp_dir

Conversation

@dengwx2026
Copy link
Copy Markdown
Collaborator

Summary

  • Add temp_dir field to RayConfig to redirect Ray's temporary data directory
  • Pass _temp_dir to all ray.init() calls (init, reconnect, test)
  • Auto-resolve relative paths to absolute via __post_init__
  • Configure temp_dir: ./tmp/ray in rock-test.yml

fixes #693

Test plan

  • Run integration tests with ROCK_CONFIG=rock-conf/rock-test.yml to verify Ray uses project-local tmp dir
  • Verify RayConfig(temp_dir='./tmp/ray') resolves to absolute path
  • Confirm temp_dir=None (default) preserves original /tmp/ray behavior

🤖 Generated with Claude Code

dengwx2026 and others added 2 commits March 28, 2026 11:40
Add temp_dir field to RayConfig to allow redirecting Ray's temporary
data away from /tmp, avoiding disk space issues during runtime env setup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dengwx2009 dengwx2009 merged commit e649c4f into master Mar 28, 2026
7 of 8 checks passed
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.

feat: support configurable Ray temp directory to avoid /tmp disk space issues

2 participants