mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 19:57:58 +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
@@ -324,6 +324,7 @@ const PATH_SCOPES = {
|
||||
"tests/boundary/filesystem/directAnalysisSnapshotReplay.test.ts",
|
||||
"tests/boundary/mcp/rawBinaryMcp.test.ts",
|
||||
"tests/boundary/filesystem/windowsTargetSeparators.test.ts",
|
||||
"tests/boundary/mcp/serverIdentity.test.ts",
|
||||
"src/contracts/advertisedDialect*.ts",
|
||||
"tests/boundary/mcp/advertisedDialect.test.ts",
|
||||
// The advertised absolute-path pattern is host-specific (#7151).
|
||||
|
||||
Reference in new issue
Block a user