Repository navigation
test(talos): judge only the helper's own source checkouts in cleanup - #5285
Conversation
The fold-input cleanup test required the whole temporary directory to be empty, so an unrelated file another tool leaves there (a macOS sandbox writes xcrun's cache) read as a leaked source checkout. Name the helper's checkout prefix once, count only entries that carry it, plant such a cache file in the test, and add a control proving a retained checkout is still found. Fixes #5221 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai review |
|
|
No actionable comments were generated in the recent review.
|
@coderabbitai review |
✅ Action performed
|
Readiness at
|
Why
A check that proves the Talos release audit cleans up after itself reported a leak whenever some other tool had left an unrelated file in the shared temporary folder, which happens inside the Mac sandbox some agents use. That turned a clean run into a false failure on unrelated changes.
What
The check now looks only at the copies the audit itself creates, so unrelated files no longer count, while a copy the audit really leaves behind is still caught. Nothing the platform deploys changes.
Fixes #5221
🤖 Generated with Claude Code