Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: weights:mine takes --run in any order; soak vm-setup usage names --ttl-hours (#8103 item 4)

garrytand21a909bacc8
diff --git a/docs/TESTING.md b/docs/TESTING.md
index b9aa8ae418..ae2ade24d2 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -701,8 +701,8 @@ File/stdin imports also merge unobserved entries; only a complete GitHub unit,
serial or explicit full-profile E2E run replaces that lane's entire map. Captured artifacts need their final
successful completion marker, and GitHub imports verify every expected job.
Incomplete or failed inputs leave the existing map intact. Repeated `--run`
-(5-10 full runs) takes each file's median; one run carries its runner
-speed. Metadata records runs, commits, units and counts. Unit/E2E weights are milliseconds;
+(5-10 full runs, in any order) takes each file's median; one run carries its runner
+speed. Every mode drops entries for files git no longer tracks. Metadata records runs, commits, units and counts. Unit/E2E weights are milliseconds;
serial weights remain seconds. New files receive the corpus p75 estimate.
The default E2E miner reads selected jobs and merges partial observations.
diff --git a/scripts/bench/production-soak/vm-setup.sh b/scripts/bench/production-soak/vm-setup.sh
index 31374a3785..2b9a7c9e0c 100755
--- a/scripts/bench/production-soak/vm-setup.sh
+++ b/scripts/bench/production-soak/vm-setup.sh
@@ -5,7 +5,8 @@
# Docker, bun and frozen dependencies, and pre-pulls the four images the
# topology uses (lib.ts): pgvector, PgBouncer (pinned by digest) and toxiproxy.
#
-# scripts/ubicloud/ubi-runner.sh run --setup scripts/bench/production-soak/vm-setup.sh -- 'bash scripts/bench/production-soak/run.sh ...'
+# scripts/ubicloud/ubi-runner.sh run --ttl-hours <soak hours + 4> --setup scripts/bench/production-soak/vm-setup.sh -- 'bash scripts/bench/production-soak/run.sh ...'
+# (ubicloud.sh start does this per latency; without --ttl-hours the VM's 3-hour default TTL ends a soak mid-run)
set -euo pipefail
BUN_VERSION="${BUN_VERSION:-1.4.4}"