Skip to content

升级 cos-up 至 Calcit 0.53 - #17

Merged
tiye merged 1 commit into
mainfrom
migrate/calcit-0530
Dec 2, 2026
Merged

tiye merged 1 commit into
mainfrom
migrate/calcit-0530

Conversation

@tiye

@tiye tiye commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

使用者需要注意

这是后端签名服务。升级后需要配对 Calcit 和 @calcit/procs 0.53.0、Skir 0.0.49,并在服务端安装新锁文件中的依赖。原 /servers/cos-up/ 路径与签名协议保持。

合并前必须确认服务器准备:现有发布流程只 rsync,不安装或重启依赖。服务器尚未确认已准备新运行时和依赖;本 PR 先开放供评审,继续保留不合并,不能仅凭 CI 触发部署。

改动与验证

  • 迁移 COS SDK 回调的旧可选参数写法。新版生成代码对固定参数数目执行检查,因此保留变长宿主回调,使 SDK 只传错误参数时仍返回错误响应。
  • 正式依赖图、38 个定义、9 个公开定义、完整 strict、原零弱类型门禁和 Node 语法检查通过。新增一项离线 SDK 替身回归,覆盖单参数错误、成功、错误结果和缺失结果;不访问 COS 或使用真实凭据。
  • 隔离回环 HTTP 使用合成配置和禁止出站的 SDK 替身,验证 OPTIONS、404、非法请求、认证失败、成功、SDK 单参数错误和无效结果共 7 个场景;未使用真实凭据、上传文件或部署后端。PR 工作流仅构建验证。

@tiye
tiye marked this pull request as ready for review December 2, 2026 03:10
@tiye
tiye merged commit cfb34c0 into main Dec 2, 2026
1 check passed
@tiye
tiye deleted the migrate/calcit-0530 branch December 2, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant