Skip to content

Fix Windows model promotion and PaddleOCR dependencies, refresh CI - #81

Merged
Soren-ABT merged 4 commits into
mainfrom
fix/issues-78-80-ci
Nov 19, 2026
Merged

Soren-ABT merged 4 commits into
mainfrom
fix/issues-78-80-ci

Conversation

@Soren-ABT

Copy link
Copy Markdown
Owner

修复

验证

  • 使用 CI 固定的 DSH 源码提交,Windows 上 56 个文件、695 项测试通过。类型检查、生产依赖审计、检索基准、打包校验、四类 worker 协议烟测和 actionlint 均通过。
  • Windows 实际文件锁让暂存目录重命名返回 EPERM。解锁后,Xenova/bge-small-zh-v1.5 完成提升并输出 512 维嵌入。回归用例覆盖重试耗尽、非锁错误、并发请求和取消。
  • 独立 pnpm 消费者复现了 npm 0.5.4 的 ONNX peer 冲突,随后严格安装候选 tarball 成功。PaddleOCR 6.4.0 和 6.7.1 使用真实 PP-OCRv5 权重识别了合成图片。
  • DSH 0.2.2-rc.5 已安装候选包并持续响应知识库路由。临时 Web profile 仍报告宿主侧的 Zod peer,卸载移除依赖后仍触发 DSH bundle 清理超时。

Fixes #78
Fixes #80

TruthK and others added 4 commits November 15, 2026 23:36
…ndows locks

A fully downloaded model is promoted by renaming .staging/<model> into the
final cache immediately after the release ack. On Windows the rename
reliably fails with EPERM even though every process handle is closed:
antivirus or the search indexer still holds the freshly written weights for
a moment. The download then surfaces as failed even though the staging
directory is complete, and the next attempt re-downloads everything.

Retry the promotion rename (rm final + rename) on EPERM/EACCES/EBUSY/
ENOTEMPTY with a ~10s backoff budget; any other error propagates
immediately and the staging directory stays intact for a clean retry.
Verified live on Windows 11: bge-small-zh-v1.5 promotion now succeeds
where 0.5.4 failed deterministically on both C: and D: caches.
@Soren-ABT
Soren-ABT marked this pull request as ready for review November 19, 2026 06:57
@Soren-ABT
Soren-ABT merged commit 5e13845 into main Nov 19, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants