Repository navigation
Commit e3d0166
moc
fix(win): strip \\?\ namespace from resolved entries; run launcher suite in Windows CI
Real-Windows evidence (fork preview, windows-latest, Node 22): running
checks/win-launcher.check.mjs on a real runner surfaced a resolver bug the
POSIX+win32-injected suite could never catch — fs.promises.mkdir(recursive)
returns a \\?\-namespaced path on Windows, every join below keeps the
prefix, and node's main resolution (realpathSync on argv[1]) dies with
EISDIR lstat 'C:' (nodejs/node#62446, fixed by #65378 first in v24.21.0 /
v26.8.0 — this plugin supports Node >=22, so we self-defend). loadableEntry()
strips the namespace marker (drive + UNC forms) at all three node-entry
return points; POSIX strings pass through unchanged. dist regenerated in
lockstep. The Windows job now runs the launcher suite next to
process-tree.check.mjs, closing the second review blocker.1 parent 4c9915e commit e3d0166
4 files changed
Lines changed: 31 additions & 7 deletions
File tree
- .github/workflows
- plugins/hetaoBackend/mcode-dynamic-workflows
- checks
- dist
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13964 | 13964 | | |
13965 | 13965 | | |
13966 | 13966 | | |
| 13967 | + | |
| 13968 | + | |
| 13969 | + | |
13967 | 13970 | | |
13968 | 13971 | | |
13969 | 13972 | | |
| |||
13996 | 13999 | | |
13997 | 14000 | | |
13998 | 14001 | | |
13999 | | - | |
| 14002 | + | |
14000 | 14003 | | |
14001 | 14004 | | |
14002 | 14005 | | |
| |||
14045 | 14048 | | |
14046 | 14049 | | |
14047 | 14050 | | |
14048 | | - | |
| 14051 | + | |
14049 | 14052 | | |
14050 | 14053 | | |
14051 | 14054 | | |
| |||
14058 | 14061 | | |
14059 | 14062 | | |
14060 | 14063 | | |
14061 | | - | |
| 14064 | + | |
14062 | 14065 | | |
14063 | 14066 | | |
14064 | 14067 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
| |||
66 | 81 | | |
67 | 82 | | |
68 | 83 | | |
69 | | - | |
| 84 | + | |
70 | 85 | | |
71 | 86 | | |
72 | 87 | | |
| |||
126 | 141 | | |
127 | 142 | | |
128 | 143 | | |
129 | | - | |
| 144 | + | |
130 | 145 | | |
131 | 146 | | |
132 | 147 | | |
| |||
141 | 156 | | |
142 | 157 | | |
143 | 158 | | |
144 | | - | |
| 159 | + | |
145 | 160 | | |
146 | 161 | | |
147 | 162 | | |
0 commit comments