Skip to content

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

ci(lanes): increase max executable size for tinymold

Steven Enamakelabd7c5fa0199
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index d6d09270d2..4354534d79 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -85,9 +85,11 @@ jobs:
store: /scratch/tinymold
# Instrumented test executables link the whole core (~0.5-1 GB each,
# ~90 GB per run). Stored, they share inodes with the target, so
- # neither copy can be freed and the 160 GB scratch disk fills
- # (runs 39315551099, 39331958941, 39340683561). Relink them instead.
- max-executable-size: 256M
+ # neither copy can be freed: that filled the 160 GB scratch disk
+ # (runs 39315551099, 39331958941, 39340683561). Scratch is 320 GB
+ # now, so they are stored and the core test harness is not
+ # recompiled on every run.
+ max-executable-size: 2G
remote-url: ${{ env.TINYMOLD_REMOTE_URL }}
remote-auth: ${{ env.TINYMOLD_REMOTE_AUTH }}
remote-signing-key: ${{ env.TINYMOLD_REMOTE_SIGNING_KEY }}
@@ -188,6 +190,9 @@ jobs:
run: |
mkdir -p ci-out
tinymold stats > ci-out/tinymold-stats.txt || true
+ # One line per compile (outcome, crate, time, why not stored), for
+ # ranking the misses after the run.
+ [ -f "${TINYMOLD_LOG:-}" ] && cp "${TINYMOLD_LOG}" ci-out/tinymold.log || true
if [ -f ci-out/cache-save-start ]; then
echo "$(( $(date +%s) - $(cat ci-out/cache-save-start) ))" > ci-out/cache-save-seconds.txt
fi