完成部署后校验失败恢复整改并更新实机进度

延后事务提交,校验失败时恢复目标文件、配置和服务状态;新增恢复边界回归、前端提示及生产测试记录。
This commit is contained in:
xuans committed 2026-09-30 23:14:42 +08:00
1 parent c623e2d324
commit 3cc8fb6470
13 files changed
+588 -58

No files matched your search

@@ -26,6 +26,11 @@ func (d forbiddenDeployer) DeploySaved(context.Context, []deployment.Target, dep
return deployment.Report{}, nil
}
func (d forbiddenDeployer) DeploySavedVerified(context.Context, []deployment.Target, deployment.SavedFiles, deployment.Verification) (deployment.Report, error) {
d.t.Fatal("权限检查失败后不得发起事务部署")
return deployment.Report{}, nil
}
func TestWorkflowDoesNotDeployAfterDNSPermissionDenied(t *testing.T) {
workflow := &CertificateWorkflow{
Certificates: &deniedWorkflowCertificateService{},