Skip to content

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

fix(e2e): update grep-invert pattern for shard execution

Steven Enamakel6567a05a0e8f
diff --git a/app/scripts/e2e-web-shards.sh b/app/scripts/e2e-web-shards.sh
index 8512ec99f9..3f134c195f 100755
--- a/app/scripts/e2e-web-shards.sh
+++ b/app/scripts/e2e-web-shards.sh
@@ -107,7 +107,7 @@ for i in "${!special_titles[@]}"; do
done
for ((shard=1; shard<=64; shard++)); do
if (( (shard - 1) % lanes + 1 == lane )); then
- run_unit "shard-$shard" --shard="$shard/64" --grep-invert='Connections (aliases|deep links)|Skills explorer|Chat Harness - Subagent'
+ run_unit "shard-$shard" --shard="$shard/64" --grep-invert='Connections (aliases|deep links)|Skills explorer'
fi
done
exit "$overall"
diff --git a/scripts/__tests__/e2e-web-shards.test.mjs b/scripts/__tests__/e2e-web-shards.test.mjs
index 5bfa05865e..7c0d0dbf5c 100644
--- a/scripts/__tests__/e2e-web-shards.test.mjs
+++ b/scripts/__tests__/e2e-web-shards.test.mjs
@@ -21,6 +21,9 @@ function run(args, env = {}) {
test("four lanes assign each of 64 shards and nine special units once", () => {
const units = [];
+ const schedulerSource = fs.readFileSync(script, "utf8");
+ assert.match(schedulerSource, /--grep-invert='Connections \(aliases\|deep links\)\|Skills explorer'/);
+ assert.doesNotMatch(schedulerSource, /Chat Harness - Subagent/);
for (let lane = 1; lane <= 4; lane += 1) {
const result = run([`--lane=${lane}`, "--lanes=4", "--list"]);
assert.equal(result.status, 0, result.stderr);