mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 19:09:21 +00:00
fix(process): compare Windows server paths by native realpath (#15044)
* fix(process): compare Windows server paths by native realpath compareServerPaths returned mismatch for every non-equal Windows path, so case, separator, 8.3, and junction spellings of the running server were reported as registration_path_mismatch. Compare native realpaths on Windows, matching registration identity: a different existing file still mismatches and an unresolvable path stays unknown. * test(process): run the server path identity regression on Windows The injected win32 platform only selects the comparison branch; on the Linux source-test host realpathSync.native still uses POSIX rules, so Windows letter case, separators, and junction behavior were unverified. Add Windows-only spelling cases beside the portable regression and include the file in the curated Windows lane, with the lane guard asserting it stays there. * ci(windows): own the server identity regression in the package lane The Windows lane now runs serverIdentity.test.ts, so the package scope must own that path for the native-host lane ownership check. * docs(process): clarify server path comparison authority --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
1 parent
78c6d4c5a8
commit
60de294646
5 files changed
+96
-2
No files matched your search
@@ -1186,6 +1186,7 @@ jobs:
|
||||
tests/boundary/mcp/advertisedDialect.test.ts
|
||||
tests/boundary/mcp/absoluteLocalPathSchema.test.ts
|
||||
tests/boundary/mcp/toolSchemaValidity.test.ts
|
||||
tests/boundary/mcp/serverIdentity.test.ts
|
||||
tests/boundary/filesystem/safeOutputTree.test.ts
|
||||
tests/boundary/filesystem/safeOutputTreePublication.test.ts
|
||||
tests/boundary/providers/native/artifactProvider.archiveSafety.test.ts
|
||||
|
||||
Reference in new issue
Block a user