From 93181a3fb00388380f18acfe8aaff960cd1e42dd Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 20 Jun 2026 22:44:15 -0700 Subject: [PATCH] phase50: record live preflight status gate --- seaweed-block/internal/docs/current-plan.md | 4 ++- ...eturned_replica_preflight_status_schema.md | 18 +++++++++++- ...lica-preflight-status-schema-qa-signoff.md | 28 +++++++++++++++++-- 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 5797760163..89e441c1c8 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -1,6 +1,6 @@ # Current Plan: Phase 50 Returned-Replica Executor Preflight Status Schema -Status: complete; local validation PASS; live gate wrapper updated. +Status: complete; local validation PASS; live gate PASS. Working branch: `phase50-test-validation-hygiene` @@ -110,6 +110,8 @@ Validation completed: [x] go test -count=1 ./cmd/sw-block [x] go test -count=1 ./core/ops [x] swblock validate testops/scenarios/returned-replica-status-schema-rbac-chain.yaml +[x] swblock run testops/scenarios/returned-replica-status-schema-rbac-chain.yaml + run: 20260620-224255-2225, 16/16 PASS ``` ## Next Phase Candidate diff --git a/seaweed-block/internal/docs/finished-plans/phase50_finishedplan_returned_replica_preflight_status_schema.md b/seaweed-block/internal/docs/finished-plans/phase50_finishedplan_returned_replica_preflight_status_schema.md index 822fb89ec0..8594b1baa1 100644 --- a/seaweed-block/internal/docs/finished-plans/phase50_finishedplan_returned_replica_preflight_status_schema.md +++ b/seaweed-block/internal/docs/finished-plans/phase50_finishedplan_returned_replica_preflight_status_schema.md @@ -46,9 +46,25 @@ mutation_allowed remains false go test -count=1 ./cmd/sw-block go test -count=1 ./core/ops swblock validate testops/scenarios/returned-replica-status-schema-rbac-chain.yaml +swblock run testops/scenarios/returned-replica-status-schema-rbac-chain.yaml ``` -Both passed. +All passed. Live run `20260620-224255-2225` completed 16/16 actions. + +Key live summary: + +```text +operator_status_patch_status_allowed=yes +operator_status_main_patch_allowed=no +operator_status_finalizers_patch_allowed=no +valid_returned_replica_status_server_dry_run=true +valid_executor_preflight_status_server_dry_run=true +executor_preflight_forbidden_mutation_class_projected=true +snake_case_action_rejected=true +unsupported_action_mode_rejected=true +server_dry_run_status_mutated=false +phase47_returned_replica_status_schema_rbac_status=ok +``` ## Non-Claims diff --git a/seaweed-block/internal/docs/qa-assignments/phase50-returned-replica-preflight-status-schema-qa-signoff.md b/seaweed-block/internal/docs/qa-assignments/phase50-returned-replica-preflight-status-schema-qa-signoff.md index 1238eb2a29..aa61c3eeff 100644 --- a/seaweed-block/internal/docs/qa-assignments/phase50-returned-replica-preflight-status-schema-qa-signoff.md +++ b/seaweed-block/internal/docs/qa-assignments/phase50-returned-replica-preflight-status-schema-qa-signoff.md @@ -2,6 +2,8 @@ Verdict: PASS. +Live QA run: `20260620-224255-2225`, 16/16 actions PASS. + Scope: local schema, writer, reconciler, and command surface validation. No live Kubernetes mutation gate was added in this phase. @@ -14,7 +16,7 @@ Kubernetes mutation gate was added in this phase. | G3 writer payload | PASS | status writer emits `executorPreflights`, `actionType`, `mutationAllowed`, `durableFrontierLsn`, not snake_case | | G4 reconciler | PASS | operator-status reconciler writes preflight into `SwBlockVolumeCRDStatus` | | G5 command surfaces | PASS | returned-replica bundle test sees preflight in report, explain, and operator-snapshot/dashboard JSON | -| G6 live gate wrapper | PASS | `returned-replica-status-schema-rbac-chain.yaml` now asserts valid `executorPreflights[]` server-side dry-run and forbidden drift | +| G6 live gate wrapper | PASS | live run `20260620-224255-2225` asserts valid `executorPreflights[]` server-side dry-run and forbidden drift | | G7 package baseline | PASS | `cmd/sw-block` and `core/ops` package tests pass | ## Commands @@ -23,9 +25,31 @@ Kubernetes mutation gate was added in this phase. go test -count=1 ./cmd/sw-block go test -count=1 ./core/ops swblock validate testops/scenarios/returned-replica-status-schema-rbac-chain.yaml +swblock run testops/scenarios/returned-replica-status-schema-rbac-chain.yaml ``` -All passed locally. Full live execution of the wrapper remains a QA/lab step. +All passed. + +## Live Evidence + +```text +operator_status_patch_status_allowed=yes +operator_status_update_status_allowed=yes +operator_status_create_events_allowed=yes +operator_status_main_patch_allowed=no +operator_status_finalizers_patch_allowed=no +operator_status_pods_patch_allowed=no +operator_status_pvc_patch_allowed=no +operator_status_storageclass_update_allowed=no +valid_returned_replica_status_server_dry_run=true +valid_executor_preflight_status_server_dry_run=true +executor_preflight_forbidden_mutation_class_projected=true +snake_case_action_rejected=true +unsupported_action_mode_rejected=true +main_object_patch_rejected=true +server_dry_run_status_mutated=false +phase47_returned_replica_status_schema_rbac_status=ok +``` ## Boundary