fix(repo):统一发布健康与只读质量门禁
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-13 22:09:44 +08:00
parent 32fc64fa83
commit c17904ee1c
25 changed files with 869 additions and 184 deletions
+19 -6
View File
@@ -52,7 +52,7 @@
# T01 — bat-api 发布完整性与分发健康契约
**类型:** P1
**状态:** Ready
**状态:** Done
**优先级:** 最高
## 问题
@@ -136,10 +136,17 @@ B 同大小内容损坏,Rust health=false
## 关系
**阻塞**
**后续关系**
* T11 正式长期运行验证
* Production-ready 判定
* T11 正式长期运行验证使用本任务建立的 health/readiness evidence。
* Production-ready 判定仍需结合长期运行证据,不由本任务单独宣告。
## 完成记录
Rust `release.status.official_distribution_ready` 已接入 Go refresh snapshot
`readyz`、bootstrap、release summary 和普通 current CDN 共用 whole-release
distribution gate。刷新失败会清空旧 index,恢复后重新建立快照;显式
official/localized/historical 分发仍经 Rust `release.distribution`
---
@@ -507,11 +514,11 @@ T07 → Production-ready
# T08 — CI Gate 与质量门禁整理
**类型:** Engineering Baseline
**状态:** Ready
**状态:** Done
## 问题
当前 `make ci` 存在:
`make ci` 存在:
* format target 会直接修改文件;
* 部分 lint tool 缺失时可能 skip
@@ -540,6 +547,12 @@ CI 检查必须:
* optional gate 明确标记 optional
* 与实际 Gitea CI 尽量保持一致。
## 完成记录
`make format` / `make fmt` 保留为显式写入命令,`make ci-check` 和兼容的
`make ci` 只执行 read-only required gatesGo lint 在工具缺失时明确输出
optional skippedOpenAPI、RPC contract 和文档一致性由 `make check-docs` 纳入。
建议统一覆盖:
```text