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 for output logging

Steven Enamakele2a753dfcdc8
diff --git a/app/scripts/e2e-web-shards.sh b/app/scripts/e2e-web-shards.sh
index 3f134c195f..f0e8e4626f 100755
--- a/app/scripts/e2e-web-shards.sh
+++ b/app/scripts/e2e-web-shards.sh
@@ -86,9 +86,11 @@ run_unit() {
local workspace="$workspace_root/lane-$lane/$unit"
local receipt="$receipt_dir/$unit.exit"
mkdir -p "$workspace"
+ workspace="$(cd "$workspace" && pwd)"
+ local output="$workspace/test-results"
export OPENHUMAN_WORKSPACE="$workspace"
local status=0
- bash scripts/ci-cancel-aware.sh "${runner_cmd[@]}" "$@" || status=$?
+ bash scripts/ci-cancel-aware.sh "${runner_cmd[@]}" "$@" --output="$output" || status=$?
printf '%s\n' "$status" > "$receipt"
echo "unit=$unit exit=$status receipt=$receipt"
(( status == 0 )) || overall=1