跳至內容

獨立驗證與控制

在每項變更進入正式環境之前加以檢查。

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、Evidence 與 Control,在動作發生的邊界上強制執行。

平台架構圖

變更經 System Graph 解析,由 Verification Engine 取得佐證,而且只有通過 Control Plane 決策後才能進入正式環境。

實務應用

追蹤一項變更走過整個平台

每個平台概念各回答一個關於變更的問題:它可能影響什麼、要檢查什麼、檢查顯示了什麼,以及它是否可以發布。

  1. 01

    理解變更

    System Graph 顯示受影響的路徑與未知的關聯,因此對共用元件的變更所得到的檢查,不會只限於其編輯過的檔案。

  2. 02

    驗證並檢視證據

    Verification Engine 執行選定的檢查。Evidence 將檢查結果與產出物連結到該變更,包括失敗與未完成的工作。

  3. 03

    決策並貫徹執行

    Control 套用您的政策,而核准始終是與測試結果分開的決定。檢視結果,並將其帶入下一個週期。

示意情境 · 並非客戶實際成果

範例:對結帳重試的變更

一位開發者修改了結帳中的重試處理。測試逾時與重複請求,並確認訂單只建立一次。通過的正常路徑測試無法回答這個問題。

開始前需釐清的問題

測試在哪裡發揮作用?

測試為驗證提供觀察結果。「測試」頁面說明各類檢查;Verification Engine 頁面說明檢查如何為特定變更的審查提供依據。

我們應該從哪裡開始?

透過展示檢視平台工作流程。若您有一個關鍵系統,並希望進行範圍明確、能產出團隊可審查之發現的調查,請選擇 Reliability Sprint。

下一步

在自己的系統上檢視控制迴圈