From b92d7993e64611bbaaf8544b54ee7e740eeea91d Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 23 Jun 2026 14:05:17 -0700 Subject: [PATCH] docs: mark phase56 rebuild contract qa ready --- seaweed-block/internal/docs/current-plan.md | 23 ++++- ...-replica-rebuild-contract-qa-assignment.md | 84 +++++++++++++++++++ 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 seaweed-block/internal/docs/qa-assignments/phase56-returned-replica-rebuild-contract-qa-assignment.md diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 1e8a599a52..8fdf0254ae 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -1,6 +1,6 @@ # Current Plan: Phase 56 Returned Replica Rebuild/Catch-up Contract -Status: in progress. +Status: dev complete; QA ready. Branch target: `phase54-returned-replica-reintegration-executor` @@ -136,3 +136,24 @@ swblock validate Phase 56 closes when rebuild/catch-up is represented as a precise disabled executor contract with status-surface agreement and a gate proving no rebuild execution occurs yet. + +## QA Ready Gate + +Run: + +```text +swblock run testops/scenarios/returned-replica-rebuild-contract-chain.yaml +``` + +Expected terminal evidence: + +```text +phase56_returned_replica_rebuild_contract_status=ok +summary_rebuild_preflight_ready=1 +summary_rebuild_contract_disabled=1 +summary_rebuild_action_disabled=1 +operator_snapshot_rebuild_contract=ok +dashboard_rebuild_contract=ok +``` + +If the runner gate passes, Phase 56 can move from `dev complete` to `closed`. diff --git a/seaweed-block/internal/docs/qa-assignments/phase56-returned-replica-rebuild-contract-qa-assignment.md b/seaweed-block/internal/docs/qa-assignments/phase56-returned-replica-rebuild-contract-qa-assignment.md new file mode 100644 index 0000000000..cd829dd1e8 --- /dev/null +++ b/seaweed-block/internal/docs/qa-assignments/phase56-returned-replica-rebuild-contract-qa-assignment.md @@ -0,0 +1,84 @@ +# Phase 56 Returned Replica Rebuild/Catch-up Contract QA Assignment + +## Goal + +Validate that a returned replica whose durable frontier is behind the required +frontier surfaces a disabled rebuild/catch-up executor contract, without +claiming or attempting rebuild execution. + +This is not a data-movement gate. It is a status/action/executor-boundary gate. + +## Source + +Use the current Phase 56 branch tip. + +Required scenario: + +```text +testops/scenarios/returned-replica-rebuild-contract-chain.yaml +``` + +Required script: + +```text +scripts/run-phase56-returned-replica-rebuild-contract-gate.sh +``` + +Before running, sync the product root on the lab node as described in: + +```text +internal/docs/qa-assignments/QA-AGENT-RUNBOOK.md +``` + +## Command + +```text +swblock run testops/scenarios/returned-replica-rebuild-contract-chain.yaml +``` + +## PASS Criteria + +The scenario must pass and the summary must contain: + +```text +phase56_returned_replica_rebuild_contract_status=ok +summary_rebuild_preflight_ready=1 +summary_rebuild_contract_disabled=1 +summary_rebuild_action_disabled=1 +operator_snapshot_rebuild_contract=ok +dashboard_rebuild_contract=ok +``` + +Product-surface expectations: + +- returned replica state is `recovering` with reason + `candidate_frontier_behind`; +- executor preflight is + `authority.rebuild_returned_replica decision=ready`; +- executor contract is + `authority.rebuild_returned_replica decision=disabled`; +- `execution_enabled=false`; +- `mutation_allowed=false`; +- future allowed mutation class is only `rebuild_traffic`; +- forbidden mutation classes include `ack_eligibility`, + `frontend_publication`, and `failback`; +- action remains rejected with `policy_disabled`; +- dashboard/operator-snapshot agrees with report and explain. + +## FAIL Conditions + +Fail if any surface implies: + +- rebuild traffic executed; +- frontend publication happened; +- failback happened; +- ACK eligibility was written for the rebuild contract; +- `execution_enabled=true`; +- `mutation_allowed=true`; +- the dashboard/operator-snapshot disagrees with report or explain. + +## Expected Scope + +This gate is replay/surface based. It should not install Helm, create PVCs, or +touch iSCSI/multipath state. Lab cleanup should still confirm no unexpected +residue.