perf: use symlinks for CI code snapshots to reduce disk and inode usage
Summary
- In nemo-ci runs (
NEMO_CI_SKIP_SNAPSHOT_COPY=1),code_snapshot.shcreates symlinks to top-level items from the project root instead of rsync-copying all git-tracked files. This eliminates the per-test copy overhead on Lustre. - The source tree is made read-only after symlinking to prevent concurrent tests from interfering through the shared source files.
- Developer workflow (without the env var) is unchanged — full rsync copies are still used.
Requires companion nemo-ci MR to set NEMO_CI_SKIP_SNAPSHOT_COPY=1 in the test launcher CMD.
Test plan
- [ ] Trigger nightly CI pipeline with both the RL PR branch and the nemo-ci branch to verify tests pass
- [ ] Confirm logs are found at
code_snapshots/$TEST_NAME/*-logs/ray-driver.log - [ ] Verify developer mode (without env var) still does full rsync
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.
Contributors can view more details about this message here.
/ok to test 2d43719696aae7a36b68178118c014179b8a430f
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.
Contributors can view more details about this message here.
/ok to test 1d4a6f055bb1b6ef7975eb4a1a1bc53229ee1875
This pull request requires additional validation before any workflows can run on NVIDIA's runners.
Pull request vetters can view their responsibilities here.
Contributors can view more details about this message here.
@kajalj22 friendly bump