Skip to content

test(server): make host-dependent fixtures portable - #7

Merged
iXab3r merged 1 commit into
mainfrom
bugfix/windows-test-fixtures
Nov 1, 2026
Merged

iXab3r merged 1 commit into
mainfrom
bugfix/windows-test-fixtures

Conversation

@iXab3r

@iXab3r iXab3r commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Problem

Host-dependent test fixtures cause 14 failures on Windows and one on macOS: JSON path escaping, an inherited platform, and temporary-directory aliases.

Change

Escape expected paths as JSON, pin the Linux fixture's platform, and canonicalize its filesystem paths.

Scope

Two existing server test files, +15/−6. No production code changes.

Addresses the baseline failures reported in #22552 (Windows) and #27001, #26967 (macOS). Related stability report: #22324; its separate failures are outside this PR.

Verification

Same command and dependencies per OS; Node 26.12.1, Vite Plus 1.4.0, Vitest 5.0.5.

vp test run apps/server/src/environment/ServerEnvironment.test.ts apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
OS / evidence BEFORE f48df77f6f0e AFTER ae6f0d53f7a4
Windows 11, build 26200 14 failed, 271 passed, 1 skipped 285 passed, 1 skipped
macOS 26.6.2, arm64 1 failed, 285 passed 286 passed
Nobara Linux 44, x86_64 286 passed 286 passed

check:changed passed: static checks and 286 tests, one skipped.

Model and harness: GPT-6.1 Sol via Codex in T3 Code.

@iXab3r
iXab3r marked this pull request as ready for review November 1, 2026 11:02
@iXab3r
iXab3r merged commit 7ff65ca into main Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant