fix(cicd): avoid no-op public edge restarts

This commit is contained in:
pikastech
2026-07-20 16:59:55 +02:00
parent 4ccbe58406
commit 1f865acbd4
2 changed files with 41 additions and 21 deletions
+5
View File
@@ -166,6 +166,11 @@ bun scripts/cli.ts hwlab nodes control-plane legacy-cicd --help
- installed commit 与 candidate 相同则幂等返回;
- installed commit 不是 candidate 祖先时,以 `stale-or-diverged-source-commit` 拒绝;
- 禁止旧 PipelineRun、分叉提交或人工补跑覆盖较新的运行面。
- 精确变更判定:
- 任意 `master` 事件可以进入 reconcile,但不能直接等同于共享边缘配置变化;
- 健康运行面的 managed Caddy 与 Compose 指纹均未变化时,只推进 provenance
禁止重建 Caddy 或中断既有 HTTPS、流式响应和 WebSocket
- 只有受管配置指纹变化或运行面漂移时,才允许进入受控 recreate。
- 共享 Caddy 更新必须使用 owner managed block
- public-edge controller只替换 `public-edge-*` blocks
- 非 public-edge managed block 必须保留;