perf(test): split support boundary shard

This commit is contained in:
Peter Steinberger
2026-04-07 09:12:25 +01:00
parent d56831f81b
commit 65f9fc397e
6 changed files with 26 additions and 8 deletions

View File

@@ -64,6 +64,10 @@ function isCodeFile(fileName) {
return /\.(ts|tsx|mts|cts|js|jsx|mjs|cjs)$/.test(fileName);
}
function isBoundaryCanaryFile(fileName) {
return fileName.includes("__rootdir_boundary_canary__");
}
async function collectExtensionSourceFiles(rootDir) {
const out = [];
async function walk(dir) {
@@ -77,7 +81,7 @@ async function collectExtensionSourceFiles(rootDir) {
await walk(fullPath);
continue;
}
if (!entry.isFile() || !isCodeFile(entry.name)) {
if (!entry.isFile() || !isCodeFile(entry.name) || isBoundaryCanaryFile(entry.name)) {
continue;
}
const relativePath = normalizeRepoPath(repoRoot, fullPath);