Skip to content

fix: 保持旧客户端 Schema 身份与静态目录兼容 - #9

Merged
yi-ge merged 1 commit into
mainfrom
fix/static-registry-client-compatibility
Sep 21, 2026
Merged

yi-ge merged 1 commit into
mainfrom
fix/static-registry-client-compatibility

Conversation

@yi-ge

@yi-ge yi-ge commented Sep 21, 2026

Copy link
Copy Markdown
Member

中文

补正 #8 的客户端兼容边界。Registry 4.1 的 authored Schema 是已发布客户端的逐字节信任锚,不能只因目录字段治理就更改同版本摘要。

恢复原 4.1 和兼容 v3 Schema 字节;7 项已核验许可证保留在 canonical sidecar,不再向旧 Docker manifest 添加不被支持的字段。8 项 Stars 删除仍保留。动态指标禁写迁到两个发布校验入口共用的静态策略,并新增字段与 Schema 摘要回归。

不放宽客户端信任、获取准入、版本或内容校验。这是 #8 的前向修复,不撤销许可证补齐和静态指标清理。

English

Correct #8's compatibility boundary: the published Registry 4.1 authored schema is byte-pinned by existing clients. Restore its exact bytes and retain all seven verified licenses in compatible canonical sidecars instead of unsupported Docker-manifest fields. Keep all eight Stars removals and enforce metrics rejection through shared publication validation. Add regression coverage for metrics and the released schema identity. No runtime trust or acquisition checks are weakened.

@yi-ge
yi-ge merged commit 33f3ae4 into main Sep 21, 2026
1 check passed
@yi-ge
yi-ge deleted the fix/static-registry-client-compatibility branch September 21, 2026 16:56
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