ci(windows): run remaining Windows-only path admission cases in the lane (#5807)

Three test files have cases that run only on Windows
(skipIf(process.platform !== "win32") / describe.runIf(win32)), but the
windows-curated job runs an explicit file list that did not name them,
so CI never executed those cases:

- src/contracts/sessionPathInputs.test.ts (Windows absolute path forms)
- tests/boundary/filesystem/directAnalysisSnapshotReplay.test.ts
  (snapshot replay through a junction and before native admission)
- tests/boundary/mcp/rawBinaryMcp.test.ts (saved reads across a
  junction and a noncanonical Windows path)

Add them to the lane and the package change scope, and guard the
entries in curatedWindowsLane.test.ts.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Oke Iyanuoluwa EnochandClaude Opus 5.5 authored and GitHub committed 2026-10-22 02:52:11 +08:00
1 parent 07fd426e9a
commit 3dde9a5e1c
3 files changed
+18

No files matched your search

+3
View File
@@ -856,6 +856,9 @@ jobs:
tests/process-global/filesystemSnapshotFallbackCancellation.test.ts
tests/boundary/filesystem/typescriptCompiler.test.ts
tests/boundary/filesystem/binaryTarget.test.ts
src/contracts/sessionPathInputs.test.ts
tests/boundary/filesystem/directAnalysisSnapshotReplay.test.ts
tests/boundary/mcp/rawBinaryMcp.test.ts
tests/boundary/filesystem/safeOutputTree.test.ts
tests/boundary/providers/native/artifactProvider.archiveSafety.test.ts
tests/boundary/providers/native/artifactProvider.extractionCompleteness.test.ts
+3
View File
@@ -148,6 +148,9 @@ export const SCOPES = {
"src/cli/setupCommands.ts",
"tests/boundary/filesystem/typescriptCompiler.test.ts",
"tests/boundary/filesystem/binaryTarget.test.ts",
"src/contracts/sessionPathInputs.test.ts",
"tests/boundary/filesystem/directAnalysisSnapshotReplay.test.ts",
"tests/boundary/mcp/rawBinaryMcp.test.ts",
"tests/boundary/filesystem/safeOutputTree.test.ts",
"tests/boundary/providers/native/artifactProvider.archiveSafety.test.ts",
"tests/boundary/providers/native/artifactProvider.extractionCompleteness.test.ts",
@@ -99,6 +99,18 @@ describe("curated Windows test lane", () => {
);
});
it("keeps Windows-only path and snapshot admission cases in the lane", async () => {
// These files have cases that run only on Windows, so outside this lane
// CI never executes them.
expect(await explicitPaths("windows")).toEqual(
expect.arrayContaining([
"src/contracts/sessionPathInputs.test.ts",
"tests/boundary/filesystem/directAnalysisSnapshotReplay.test.ts",
"tests/boundary/mcp/rawBinaryMcp.test.ts",
]),
);
});
it("keeps Windows runner cancellation coverage in the lane", async () => {
expect(await explicitPaths("windows")).toEqual(
expect.arrayContaining([