Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(ci): update coverage binary pruning logic

Steven Enamakela203d4c51a1d
diff --git a/scripts/ci/self-hosted/prune-coverage-binaries.sh b/scripts/ci/self-hosted/prune-coverage-binaries.sh
index d0ae63157c..f9e34b6017 100755
--- a/scripts/ci/self-hosted/prune-coverage-binaries.sh
+++ b/scripts/ci/self-hosted/prune-coverage-binaries.sh
@@ -10,8 +10,9 @@
# the 160 GB disk without it. The profiles go too: lcov-core.info already holds
# them, and a later `cargo llvm-cov report` must not merge profiles whose
# binaries are gone. diff-cover unions ci-out/lcov/*.info, so the result is the
-# same. This only frees space because Tinymold does not keep those executables
-# (`max-executable-size` in ci-lanes.yml); a stored copy shares the inode.
+# same. An executable Tinymold stored (`max-executable-size` in ci-lanes.yml)
+# shares its inode with the store, so removing it frees nothing; only larger
+# ones and the profiles free space.
set -euo pipefail
dir="${1:?usage: prune-coverage-binaries.sh <coverage-target-dir>}"
log() { echo "[ci][prune-coverage] $*"; }