test(server): reproduce Windows spawn EINVAL with cmd shim + spaces + JSON args

This commit is contained in:
Mohamed Boudra
2026-04-16 16:36:57 +07:00
parent a3822ca299
commit 917c2f56f4
3 changed files with 390 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ jobs:
run: >
npx vitest run
src/utils/executable.test.ts
src/utils/spawn.launch-regression.test.ts
src/utils/spawn.test.ts
src/utils/run-git-command.test.ts
src/utils/checkout-git-rev-parse.test.ts
@@ -109,6 +110,7 @@ jobs:
src/server/agent/provider-launch-config.test.ts
src/server/agent/provider-snapshot-manager.test.ts
src/server/agent/providers/claude-agent.spawn.test.ts
src/server/agent/providers/provider-windows-launch.test.ts
src/server/agent/providers/provider-availability.test.ts
src/server/workspace-registry-model.test.ts
src/server/persisted-config.test.ts