Skip to content

Commit 7a764d5

Browse files
sbryngelsonclaude
andcommitted
Remove aggressive workspace cleanup from bench jobs
The Lustre-safe cleanup step was wiping the build cache (pr/build/, master/build/), forcing full rebuilds every run. This added ~32 min of build time and pushed NVHPC gpu-omp benchmarks past the 4h SLURM limit. Restore default checkout behavior to preserve build cache across runs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c0b1cd1 commit 7a764d5

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/bench.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,26 +90,14 @@ jobs:
9090
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
9191
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
9292
steps:
93-
- name: Clean workspace (Lustre-safe)
94-
shell: bash
95-
run: |
96-
shopt -s dotglob nullglob
97-
for i in 1 2 3 4 5; do
98-
rm -rf -- "${GITHUB_WORKSPACE:?}/"* 2>/dev/null && break
99-
echo "Clean attempt $i failed, retrying in 2s..."
100-
sleep 2
101-
done
102-
10393
- name: Clone - PR
10494
uses: actions/checkout@v4
10595
with:
106-
clean: false
10796
path: pr
10897

10998
- name: Clone - Master
11099
uses: actions/checkout@v4
111100
with:
112-
clean: false
113101
repository: MFlowCode/MFC
114102
ref: master
115103
path: master

0 commit comments

Comments
 (0)