Remove persistent build cache for self-hosted test runners - #1294
Remove persistent build cache for self-hosted test runners#1294sbryngelson wants to merge 2 commits into
Conversation
Replace setup-build-cache.sh symlink mechanism with rm -rf build before each test run on Phoenix and Frontier. Benchmark jobs unaffected. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude Code ReviewHead SHA: 48dc49e Files changed: 2
Summary
FindingsNo correctness, security, or convention issues found. Observations:
Improvement Opportunities (optional)
|
Claude Code ReviewHead SHA: Files changed: 3
Summary
Findings1. PR description says bench jobs are "unaffected", but their behavior does change
This is likely intentional and arguably more correct (avoids stale build artifacts in benchmarks), but the PR description saying bench jobs are "unaffected" is inaccurate. Worth updating the description for clarity, especially since benchmark timing can be sensitive to cold-vs-warm build state. 2. Stale comment in After removing the cache, the comment immediately following still reads: "cached binaries" no longer applies — there is no cache. This comment should be updated (e.g., remove "cached" or rephrase to "freshly built binaries") to avoid confusing future readers. Summary verdictThe core change is correct and sound — removing a symlink-based cache in favor of clean builds is simpler and eliminates a class of stale-artifact bugs. The two items above are minor: a misleading PR description and a one-word stale comment. No functional correctness issues. |
Summary
setup-build-cache.shsymlink mechanism from Phoenix and Frontier test jobsrm -rf buildto ensure a clean build on every CI runChanges
.github/workflows/phoenix/test.sh: remove cache setup, addrm -rf build.github/workflows/frontier/build.sh: remove cache setup, addrm -rf build(non-bench only)