Skip to content

Commit 273cced

Browse files
sbryngelsonclaude
andcommitted
Remove aggressive workspace cleanup from test jobs
The rm -rf * was destroying the build cache, causing CMake to rebuild from scratch and hit Lustre ioctl errors. With clean: false on checkout, git clean is already disabled — no pre-cleanup needed. Keep full cleanup only in bench.yml where pr/master are fresh clones. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ed8abd5 commit 273cced

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,16 +222,6 @@ jobs:
222222
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
223223
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
224224
steps:
225-
- name: Clean workspace (Lustre-safe)
226-
shell: bash
227-
run: |
228-
shopt -s dotglob nullglob
229-
for i in 1 2 3 4 5; do
230-
rm -rf -- "${GITHUB_WORKSPACE:?}/"* 2>/dev/null && break
231-
echo "Clean attempt $i failed, retrying in 2s..."
232-
sleep 2
233-
done
234-
235225
- name: Clone
236226
uses: actions/checkout@v4
237227
with:

0 commit comments

Comments
 (0)