Repository navigation
ci: clear test-e2e's fixed DerivedData with clear-dirs.sh - #14994
Conversation
test-e2e's build job wiped its canonical-root DerivedData with a bare rm -rf. On an owned Mac, a leftover indexer from an earlier job refilled the tree mid-walk and the step failed with "Directory not empty" (run 36317930241). ci-macos.yml already uses clear-dirs.sh, which renames first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedNext included review available in 1 minute. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
test-e2e's build job runs the step from the tested checkout, which can predate scripts/ci/clear-dirs.sh (bisects of older main, unrebased PR heads). Inline the same three lines instead, and use them for the always() cleanup of the same paths too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merge receipt for |
648d5c1 Add a Paste Last Screenshot action with an unbound shortcut (manaflow-ai#14955) ff61677 ci: avoid partial blobs in catch-up merges (manaflow-ai#15023) 4d0d112 ci: retry transient catch-up GraphQL failures (manaflow-ai#15021) 212e808 ci: attribution scores a lone suspect and reports app-host crashes apart (manaflow-ai#14952) 4cabdf4 test: settle the window before measuring the unread sidebar-row invalidation (manaflow-ai#14568) 12ec99b Add a release-media capture tool for changelog screenshots and clips (manaflow-ai#15010) ee2cda0 Backfill Unreleased changelog and draft next release cards (manaflow-ai#14999) be4adf8 Show a brief notice when Cmd+V fails on an oversized image or a timeout (manaflow-ai#14953) 23d22d7 ci: an owned pool the run starts on now beats an earlier one it queues on (manaflow-ai#14993) 05d0190 ci: catch-up posts once per head, says less, and merges inserted declarations (manaflow-ai#15018) 4ee4b21 ci: fail stalled Swift package tests instead of waiting out the job timeout (manaflow-ai#14997) 9ce512a merge-main: run local guards only when asked (manaflow-ai#15016) d60108a ci: clear test-e2e's fixed DerivedData with clear-dirs.sh (manaflow-ai#14994) 1d7895e ci: run the shell and CLI no-socket lanes in parallel (manaflow-ai#14990) 6e7d25f Honor macOS Differentiate Without Color, Increase Contrast and Reduce Transparency (manaflow-ai#14991) 966b355 Stop interrupting focused work: sidebar jumps, Computer Use focus steal, quit dialog on logout (manaflow-ai#14961) e1f1cb2 Strip control characters from feedback attachment filenames (manaflow-ai#14783) 0758c9f test: find the onboarding window the test presented, not a leftover (manaflow-ai#15015) b35c540 fix(spm): resolve GhosttyKit/GhosttyRuntimeTestStubs target name collisions (manaflow-ai#10569) ef33bed Map .purs artifacts to the Haskell highlight.js grammar (manaflow-ai#14202) e2a167a Highlight Elixir and Erlang files in the file editor (manaflow-ai#13732) 972c449 fix: wrap Linux browser download card label (manaflow-ai#11157) f563884 Add Aside to browser data import detection (manaflow-ai#13379) 091d0ea Add cmux send --paste and hint at it for large multi-line sends (manaflow-ai#14937) 3ffcdbb test(ios): keep folder-tap stat tests off the real 2 s deadline (manaflow-ai#15017) 68d3936 test: keep CmuxTerminal pasteboard tests off the cooperative pool (manaflow-ai#15006)
Summary
On owned Macs, test-e2e's build job clears its fixed DerivedData (
<canonical root>/derived-data-compile-admission) with a barerm -rf. A process left over from an earlier job (an indexer underIndex.noindex) can refill the tree whilermwalks it, and the step fails with "Directory not empty" before anything builds. Run 36317930241 failed this way in 99 seconds.ci-macos.yml, nightly.yml, seed-derived-data.yml and app-host-test-rerun.yml already clear these paths with
scripts/ci/clear-dirs.sh, which renames each directory first (atomic) and deletes the renamed copy best-effort. test-e2e.yml now does the same, for the prepare step and for thealways()cleanup of the same paths (which could otherwise turn a finished run red).The three lines are inlined rather than calling the helper: this job runs the step from the tested checkout, and a bisect of older main or an unrebased PR head can predate
clear-dirs.sh.Testing
tests/test_ci_e2e_compilation_cache.py(E2ECompilationCache) passes excepttest_a_missing_manifest_fails_instead_of_silently_compiling, which fails the same way on clean main on this Mac (macOS bash 3.2 empty-arrayONLY_TESTING[@]: unbound variable).tests/test_ci_canonical_build_root.pypasses.Changelog
none
🤖 Generated with Claude Code