Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(stress): gate shards run 12 at a time so a fix-wave-sized PR finishes in about half the wall time

garrytan0adf20cf6d0d
diff --git a/.github/workflows/stress.yml b/.github/workflows/stress.yml
index c8dc7360e2..7894c26773 100644
--- a/.github/workflows/stress.yml
+++ b/.github/workflows/stress.yml
@@ -89,7 +89,7 @@ jobs:
fail-fast: false
# Bounded so a large fix-wave PR queues its shards instead of starving
# every other job of the shared runner quota.
- max-parallel: 6
+ max-parallel: 12
matrix: ${{ fromJSON(needs.plan.outputs.matrix) }}
services:
postgres:
diff --git a/scripts/stress/README.md b/scripts/stress/README.md
index 36bada0d29..9d4cda245e 100644
--- a/scripts/stress/README.md
+++ b/scripts/stress/README.md
@@ -98,7 +98,7 @@ shards.
never sampled or skipped.
- **Shards.** Work items (a file's iterations, split when ten exceed the
budget) pack into the fewest shards whose measured estimates stay under 25
- minutes. There is no shard-count cap; `max-parallel: 6` keeps a large PR
+ minutes. There is no shard-count cap; `max-parallel: 12` keeps a large PR
from starving other jobs. Shard jobs record results and exit 0 on test
failures; the result job decides, so a planned iteration without a receipt
fails the check as incomplete.