test: surface broad local Vitest runs (#87757)

This commit is contained in:
Dallin Romney
2026-05-28 12:05:19 -07:00
committed by GitHub
parent 1ac8c71cf5
commit 2d8cebba5c
2 changed files with 11 additions and 1 deletions

View File

@@ -265,6 +265,11 @@ async function main() {
isFullSuiteRun || isFullExtensionsProjectRun(runSpecs) || isExplicitParallelMultiConfigRun;
if (isParallelShardRun) {
const concurrency = resolveParallelFullSuiteConcurrency(runSpecs.length, baseEnv);
if (!isCiLikeEnv(baseEnv) && runSpecs.length > 1) {
console.warn(
`[test] warning: broad local run will start ${runSpecs.length} Vitest shards; use \`pnpm test:changed\` for routine checks.`,
);
}
if (concurrency > 1) {
const localFullSuiteProfile = resolveLocalFullSuiteProfile(baseEnv);
const shardTimings = readShardTimings(process.cwd(), baseEnv);