mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
phase50: record live preflight status gate
This commit is contained in:
1 parent
81a8310b5a
commit
93181a3fb0
3 files changed
+46
-4
No files matched your search
@@ -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
|
||||
|
||||
+17
-1
@@ -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
|
||||
|
||||
|
||||
+26
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user