Repository navigation
迁移 Calcit 0.29.3 并收紧签名请求类型 - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
使用者需要注意
此后端签名服务配对正式 Calcit/procs 0.29.3、Skir 0.0.29、Node 24 与 Yarn 4.18.0;应用版本保持 0.0.9,不额外发模块 release。原
/servers/cos-up/部署路径不变,没有前端 COS/CDN 重构,也不做真实文件上传。部署准备仍须确认:原 Actions 只 rsync,不会远程安装 npm 依赖。合并会触发原后端发布,因此须先确认服务器 Node 24 和本次 lock 的配套 runtime 安装安排(
corepack yarn install --immutable)。本 PR 将精确 Yarn 配置一并放入 artifact,源目录尾/包含该隐藏文件,目的目录未改;这不等于生产进程已经安装或重启。确认前不合并部署。配置和请求体现在要求 Tag→String 的 Cirru EDN Map,包括额外字段。非法 Cirru、非 Map 和非字符串值的请求返回 400;坏配置仍由服务端报错。原缺失字段空字符串默认值、认证比较、403/404/OPTIONS、PUT/区域/
cos-up/key 前缀保持,没有重新设计认证策略。错误 SDK URL 形状返回 500,不让新的类型错误逃出异步回调。请求日志仅保留方法/路径;不再打印请求对象、密码请求体和签名 URL。
app.http/extract-body是内部函数,现在回调接收 Result<Map<Tag,String>,String>,而非开放 payload;两个重复宿主 Trait 已退役。修改
本地验收与限制
准确正式 0.29.3:11 all-defs、6 public,4full/2partial;strict workflow 零诊断/零建议,原 baseline PASS、unsafe5→1、弃用/动态方法/unresolved 为零。剩余两处开放响应定义和 SDK 构造器边界不冒称全闭合。附带 test 发现0,不把空选择称测试通过。
canonical、immutable、README 示例格式/实际执行、JS 生成/语法检查、与原格式相同的 server artifact(含精确 Yarn 配置且无 secrets)通过。官方 program-diff 为 semantic-change,已审阅实际定义/entry/schema/生命周期变化,非格式化等价声明。
真实临时 localhost HTTP 使用明确假的配置:OPTIONS/CORS、GET/非token POST404、空/错误认证403、非法 Cirru/非Map/非String400、假数据本地签名200、坏SDKUrl500以及后续请求存活均通过。SDK出站函数被禁止且计数0,没有上传、读生产配置或打印签名值;临时配置已删除,服务器finally关闭。无新增仓库测试脚本。
中间失败的 removed some?、reload Unit proof、transaction schema括号/overwrite、README格式检查均修正后重跑,不计验收。早期只做直接字段检查的候选已换成最终 Result 边界,最终 HTTP 回放重新执行通过。本地依赖只读链接到已接受正式源码,不写共享 Caps 缓存,不冒称本地 Caps 通过。远端 clean Linux/Caps CI、审阅和服务器 runtime 准备仍待验收;无旧 CLI 全量等价、真实凭据签名、传输中断或生产进程验收声明。