Files
seaweedfs/seaweed-block/docs/wiki/testops-map.md
T
pingqiuandClaude Opus 5.5 68045d9698 durable: remove the smartwal and parallel-walstore engines
- The provider refuses the removed names and, under every selector and
  before any selector comparison, a volume carrying their magic (SWAW;
  SWPW in either header slot), reading the file read-only and never
  modifying it. blockvolume --durable-impl and the launcher refuse the
  names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
  cmd/sw-block-testutil (whose one command corrupted smartwal records)
  are deleted, with the helm smartwal-corruption scenario and the
  parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
  engine only because a stub needed some store move to walstore, and the
  state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
  INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
  the rows citing the removed tests updated. Docs: block-design 1.3 now
  describes the removal, the smartwal deep-dive and figure are gone, the
  scripts default to walstore, and the v1.1 notes carry the removal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:38:54 -08:00

68 lines
2.4 KiB
Markdown

# QA and TestOps Map
Seaweed Block uses TestOps and QA sign-offs as product evidence, not just test
coverage. The important question is what each gate proves.
## Test Realism Levels
| Level | Meaning | Useful for |
|---|---|---|
| L0 self-proof | helper writes a value and test greps it | avoid for product claims |
| L1 replay | existing evidence is replayed through report/status logic | projection correctness |
| L2 live injection | real failure is induced and product observes it | status and recovery claims |
| L3 adversarial | live failure plus concurrency/timing/isolation | release-critical claims |
Phase 34 moved dirty-failure testing away from self-proof and toward live
injection.
## Scenario Families
| Family | Examples | Claim area |
|---|---|---|
| Day-1 install | `helm-first-volume-via-sw-block-cli-chain.yaml` | Helm + first PVC |
| Multi-volume RF=3 | `helm-multi-volume-rf3-*.yaml` | identity isolation and HA gates |
| Restart persistence | `helm-*-restart-*.yaml` | authority and data persistence |
| Failure evidence | `status-endpoint-unreachable-*` | no false Ready |
| Lifecycle owner | `lifecycle-owner-*.yaml` | admission/action/finalizer boundary |
| Cleanup | `cleanup-residue-chain.yaml` and cleanup verifier | zero-residue contract |
| Protocol | `iscsi-*`, `nvme-*` | frontend-specific gates |
## Release Evidence
Release claims should point to:
- a finished plan in `internal/docs/finished-plans/`,
- one or more QA sign-offs in `internal/docs/qa-assignments/`,
- a release note in `docs/releases/`,
- if applicable, immutable image tags/digests.
If a feature has only unit tests and no live or replay gate, call it an
implementation detail, not a product capability.
## Current High-Value Gates
| Gate | Why it matters |
|---|---|
| live node/CSI evidence | prevents node and CSI blockers from being masked |
| status API conformance | catches CRD schema/RBAC bugs missed by mocks |
| lifecycle-owner admission | proves mutation boundary on a real Kubernetes API |
| delete lifecycle close | proves the operation-layer pieces compose end-to-end |
## QA Writing Rule
A QA sign-off should state:
```text
what was run
which source commit/image
which evidence was observed
what would have failed the gate
blocking findings
non-blocking findings
residue result
```
This makes the sign-off useful months later when a developer needs to know why
a state transition or guard exists.