Files
apes-sidebar/tests
Menghuan1918 74549f73da merge fix/post-integration into dev(修集成批带出的 3 条 CI 红)
① src/search-engines.ts 的 bundledRgCandidates 原是「按入参 platform 推导路径,却用宿主
   sep/dirname 走查」——Windows runner 上 POSIX 起始路径的 endsWith('\\node_modules') 永不命中,
   argv[1] 走查一个 root 都产不出。改为按 platform 选 node:path 方言(posix/win32),函数成为入参的纯函数。
② tests/search-engines.spec.ts 的真实引擎用例建了名为 a*b.ts 的 fixture——'*' 在 Windows 是非法
   文件名字符,fixture 自己 ENOENT。按平台换成合法见证对(win32 用良构的 a[b])。
③ tests/e2e/zz-expand-refresh.e2e.ts 的「展开必然发请求」前提已被 compact 预取改变
   (probeCompactRows 把「唯一子项是文件」的目录也标 compact,客户端在层级缓存变化时预取)。
   断言改为预取感知:允许 0 或恰好该层级,但禁止任何更宽范围的 fs.trees,且子行必须出现。

Refs #303 Refs #264
2026-10-05 02:58:53 +08:00
..
2026-09-09 11:15:30 +08:00