fix(gitea): 可靠备份恢复、隔离 CI 与受控升级 #2

Merged
gao merged 2 commits from codex/gitea-reliability-1 into master 2026-09-25 23:12:46 +08:00
Owner

旧脚本读取空卷却报告备份成功,且恢复会覆盖数据。改为 inspect 实际卷、短暂停机复制、restic 加密本机/T5 双副本、完整外置校验、新卷恢复和进程故障守卫。新增升级事务先隔离验证再开放端口,并精确保留旧镜像/卷。

验证:27 项运维检查(含真实缺失 Git 对象、SIGTERM/SIGKILL/卡死、事务标记写失败);从 T5 恢复 207 库并全量 fsck;正式 1.27.3 升级通过,208 库;私有 ai-shitiku 试点全套 scripts/check 通过且失败/旧 HEAD 合并被服务器拒绝。独立交叉评审已通过,当前 HEAD CI 将补充回执。

后台外置权限与恢复密钥独立保管仍待用户处理,见 gitea/reliability/HANDOVER.md。

Refs #1

旧脚本读取空卷却报告备份成功,且恢复会覆盖数据。改为 inspect 实际卷、短暂停机复制、restic 加密本机/T5 双副本、完整外置校验、新卷恢复和进程故障守卫。新增升级事务先隔离验证再开放端口,并精确保留旧镜像/卷。 验证:27 项运维检查(含真实缺失 Git 对象、SIGTERM/SIGKILL/卡死、事务标记写失败);从 T5 恢复 207 库并全量 fsck;正式 1.27.3 升级通过,208 库;私有 ai-shitiku 试点全套 scripts/check 通过且失败/旧 HEAD 合并被服务器拒绝。独立交叉评审已通过,当前 HEAD CI 将补充回执。 后台外置权限与恢复密钥独立保管仍待用户处理,见 gitea/reliability/HANDOVER.md。 Refs #1
gao added 2 commits 2026-09-25 23:02:42 +08:00
Agent: codex

Refs: gao/macos-tools#1
docs(gitea): 记录恢复演练与升级回执
gitea-ci / reliability-source Gitea pilot run 3137 verified this exact source HEAD (26 pass, Docker-only test skipped)
b6e8204ea0
Agent: codex
Author
Owner

交叉评审 PASS,精确 HEAD b6e8204ea0c4a3cbb339da38b58358ba65007ce4。独立 reviewer 核对脚本 hash 与最终修复一致;27 项中 26 通过,Docker 操作测试按只读评审约束跳过。主 agent 本机 27 项全部通过(包含真实 Docker 缺 blob 回归)。Gitea 1.27.3 上 run 3137 checkout 并断言相同源码 SHA 后执行运维测试通过。生产升级/备份演练回执由主 agent 实测,reviewer 未独立操作生产。

交叉评审 PASS,精确 HEAD `b6e8204ea0c4a3cbb339da38b58358ba65007ce4`。独立 reviewer 核对脚本 hash 与最终修复一致;27 项中 26 通过,Docker 操作测试按只读评审约束跳过。主 agent 本机 27 项全部通过(包含真实 Docker 缺 blob 回归)。Gitea 1.27.3 上 run 3137 checkout 并断言相同源码 SHA 后执行运维测试通过。生产升级/备份演练回执由主 agent 实测,reviewer 未独立操作生产。
gao merged commit 917501939b into master 2026-09-25 23:12:46 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gao/macos-tools#2