Files
pikasTech-unidesk/docs/MDTODO/github-gitea-durable-source-authority.md
T

3.0 KiB
Raw Blame History

GitHub 到 Gitea 持久源码权威收敛

本任务修复 NC01 的 GitHub webhook、Gitea controlled mirror 与 immutable snapshot 自动收敛链。来源与边界:

唯一正式触发是 GitHub PR merge;本任务不得执行人工 mirror sync/flush、直接 Gitea push、webhook-test、人工 PipelineRun、branch-follower 或运行面 patch。

R1 [in_progress]

UniDesk #1760 下恢复 UniDesk #1755 规定的 PR merge 自动交付,并覆盖 HWLAB #2492 暴露的 502/stale authority,完成任务后将详细报告写入任务报告

R1.1 [completed]

调查 UniDesk #1760 的 502、旧成功覆盖、ref observer 与 repo 隔离根因,冻结 delivery/head/ref 真值合同,完成任务后将详细报告写入任务报告

R1.2 [completed]

由 YAML 声明 webhook ingress 与 bridge 有界 retry,按 deliveryId/repo/after 幂等排队并以 atomic branch+snapshot push 收敛,完成任务后将详细报告写入任务报告

R1.3 [completed]

修正 mirror/webhook status:按 GitHub head 精确选择 snapshotMATCH=false 必须 STALE=true,并移除全部 REPAIR/手工补偿 hint,完成任务后将详细报告写入任务报告

R1.4 [in_progress]

覆盖重复 delivery、跨 repo、部分 ref 已存在、atomic failure、retry exhaustion 与 truthful status,提交 non-draft PR/preflight;运行面验收只由修复 PR merge 后新事件完成,完成任务后将详细报告写入任务报告

R2 [completed]

跟踪 UniDesk #1784 暴露的 managed mirror repository materialization 根因;本轮只完成架构风险分类,不修改 renderer/controller/reconcile authority,完成任务后将详细报告写入任务报告

R2.1 [completed]

依据 UniDesk #1784 的只读审计,确认修复需要 owning YAML 到 managed mirror renderer/controller/automatic reconcile 的架构变更;按用户边界保持 issue open 并跳过,禁止人工 mirror、手工 CI/CD 补跑或 GitHub fallback,完成任务后将详细报告写入任务报告