Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test: verify scoped Windows gates after main integration

tt-a1i92b2ba24557d
diff --git a/archify/test/release-package-gates.test.mjs b/archify/test/release-package-gates.test.mjs
index 401faaaa..4e043ce5 100644
--- a/archify/test/release-package-gates.test.mjs
+++ b/archify/test/release-package-gates.test.mjs
@@ -1664,14 +1664,18 @@ test('CI and tagged releases share the maintained Windows path contract on Node
assert.match(job, /node-version:\s*\$\{\{ matrix\.node-version \}\}/);
assert.match(job, /npm ci --ignore-scripts/);
assert.match(job, /node scripts\/run-windows-path-tests\.mjs/);
- assert.match(job, /name: Provision controlled Windows path fixtures\n\s+shell: pwsh/);
+ assert.match(job, label === 'CI'
+ ? /name: Provision controlled Windows path fixtures\n\s+if: needs\.scope\.outputs\.scope == 'full'\n\s+shell: pwsh/
+ : /name: Provision controlled Windows path fixtures\n\s+shell: pwsh/);
assert.match(
job,
/scripts\/windows-path-fixtures[.]ps1 -NodeVersion '\$\{\{ matrix[.]node-version \}\}'/,
);
assert.match(
job,
- /name: Clean up controlled Windows path fixtures\n\s+if: \$\{\{ always\(\) \}\}/,
+ label === 'CI'
+ ? /name: Clean up controlled Windows path fixtures\n\s+if: \$\{\{ always\(\) && needs\.scope\.outputs\.scope == 'full' \}\}/
+ : /name: Clean up controlled Windows path fixtures\n\s+if: \$\{\{ always\(\) \}\}/,
);
assert.match(
job,