跳转到内容

独立验证与控制

在每项变更进入生产环境之前进行检查。

Zof 映射您的系统、验证每项变更并保存证据,让您的团队在掌握事实的情况下批准每次发布。

  • 验证证据与控制
  • 策略要求时由人工批准
  • 支持 GitHub

产品演示

观看 Zof 如何测试、解释和验证一次发布。

一步步跟随一次 Zof 运行:它检查一个拉取请求,说明发布为何被阻止,验证修复,并封存证据。

Demo data

  1. Change arrivesRun #129 starts for pull request #4831, an agent's change to payments/auth.ts, and Zof begins evaluating it.
  2. Impact mappedZof rates the change Critical and maps its impact: 5 services, one of them Tier 0, drawn outward from auth-service.
  3. Checks runUnit tests and the smoke test pass, but the sign-in token check fails: an expired token still opens a session.
  4. Release blockedThe release is blocked. A failed required check can't be overridden, even for an agent's change.
  5. Fix proposedFinding F-2207 opens with a four-line fix to payments/auth.ts proposed by the agent, awaiting review.
  6. Fix approvedA. Rivera, the owner, approves the plan for revision 9c41e07; approval alone doesn't clear the failed check.
  7. Re-run passes, shipThe sign-in token check re-runs on 9c41e07 and passes, the release policy is re-evaluated, and the change can ship.
  8. Evidence sealedRelease readiness for PR #4831 is generated: 3 of 3 requirements met and 12 pieces of evidence sealed.

架构

一个 Zof Core,四个概念。

System Graph、Verification Engine、证据和 Control,在操作发生的边界处强制执行。

平台结构图

变更经 System Graph 解析,由 Verification Engine 获取证据,并且只有通过 Control Plane 决策后才能进入生产环境。

实际应用

跟随一次变更走完整个平台

每个平台概念都回答关于变更的一个问题:它可能影响什么、需要检查什么、检查结果如何,以及它是否可以上线。

  1. 01

    理解变更

    System Graph 展示受影响的路径和未知的关系,因此对共享组件的变更所获得的检查不会局限于被编辑的文件。

  2. 02

    验证并检查证据

    Verification Engine 运行所选的检查。Evidence 将检查结果和制品与变更关联起来,包括失败和未完成的工作。

  3. 03

    决策并跟进

    Control 应用您的策略,审批始终是独立于测试结果的单独决策。查看结果,并将其带入下一个周期。

示意场景 · 非客户实际结果

示例:对结账重试逻辑的变更

一位开发者修改了结账中的重试处理。测试一次超时和一次重复请求,并检查订单只创建了一次。一个通过的正常路径测试无法回答这个问题。

开始之前需要厘清的问题

测试处于什么位置?

测试为验证提供观测结果。“测试”页面介绍各类检查;Verification Engine 页面说明这些检查如何服务于对某一具体变更的审查。

我们应该从哪里开始?

通过演示来查看平台工作流。如果您有一个关键系统,并希望进行范围明确、产出可供团队审阅的调查结论,请选择 Reliability Sprint。

下一步

在您自己的系统上查看控制闭环