Skip to content

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

chore(scripts): update e2e shard script logic

Steven Enamakel67ba2eedcdc7
diff --git a/app/scripts/e2e-web-shards.sh b/app/scripts/e2e-web-shards.sh
index 45dd70abac..f2f98460cb 100755
--- a/app/scripts/e2e-web-shards.sh
+++ b/app/scripts/e2e-web-shards.sh
@@ -136,7 +136,7 @@ if [[ "$selection" == diagnostic ]]; then
run_unit "diagnostic-$i" "${selected_files[$i]}"
assigned=$((assigned + 1))
fi
- fi
+ done
(( assigned > 0 )) || { echo "$selection selection assigns no units to lane $lane" >&2; exit 2; }
else
for i in "${!special_files[@]}"; do