Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

bench(production-soak): sync the checkout to work/gbrain whatever its local directory name

garrytane29c8d9e9716
diff --git a/scripts/bench/production-soak/ubicloud.sh b/scripts/bench/production-soak/ubicloud.sh
index 097cf51a80..b6e711103d 100755
--- a/scripts/bench/production-soak/ubicloud.sh
+++ b/scripts/bench/production-soak/ubicloud.sh
@@ -40,7 +40,7 @@ case $CMD in
name=$($UBI up -s "$SIZE" -S "$STORAGE" --ttl-hours "$TTL")
echo "$name" > "$cell/vm"
echo "rtt $rtt: $name"
- $UBI sync "$name" . >/dev/null
+ $UBI sync "$name" . work/gbrain >/dev/null
$UBI ssh "$name" 'cd work/gbrain && bash scripts/bench/production-soak/vm-setup.sh' > "$cell/setup.log" 2>&1
$UBI ssh "$name" "cd work/gbrain && setsid -f bash scripts/bench/production-soak/run.sh --pages $PAGES --rtt-ms $rtt --hours $HOURS --out \$HOME/soak/out --label rtt$rtt ${EXTRA[*]:-} > \$HOME/soak-run.log 2>&1 < /dev/null; echo launched"
done