openclaw/scripts/pr-lib
Mason Huang dc86349c02
fix(test): stop overriding host-aware vitest scheduling in prepare gates (#67213)
The hardcoded `OPENCLAW_VITEST_MAX_WORKERS=4` default in gates.sh
short-circuits the host-aware scheduling introduced in c247e366.
`resolveLocalVitestScheduling` sees the explicit override and returns
maxWorkers=4, which falls below the >= 5 threshold required by
`shouldUseLargeLocalFullSuiteProfile`, so every machine—regardless of
resources—gets the DEFAULT profile (4 shard parallelism) instead of
the LARGE profile (10 shard parallelism).

Drop the hardcoded default so `test-projects.mjs` can detect actual
host resources and pick the appropriate profile automatically. When
the user explicitly sets OPENCLAW_VITEST_MAX_WORKERS, forward it as
before.
2026-04-15 22:06:41 +08:00
..
changelog.sh
common.sh scripts: expose PR URL in review workflow output 2026-04-05 12:56:27 -04:00
gates.sh fix(test): stop overriding host-aware vitest scheduling in prepare gates (#67213) 2026-04-15 22:06:41 +08:00
merge.sh
prepare-core.sh scripts: expose PR URL in review workflow output 2026-04-05 12:56:27 -04:00
push.sh
review.sh scripts: expose PR URL in review workflow output 2026-04-05 12:56:27 -04:00
worktree.sh scripts: require gh api auth in worktree setup 2026-04-11 13:02:52 -03:00