T4a-6 doc cleanup: retract overclaim + fix matrix wording in header

QA round-22 noted the l2_integration_test.go file header still
claimed the L2 test proves "all T4a landed commits compose
correctly" and that walstore was "non-gating" — both stale after
the f6ae662 follow-up. Body comments (runMatrix + walstoreFactory)
were updated in that commit; the file header was missed.

This is a documentation-only cleanup:

  - Scope claim: now explicitly scopes T4a-6 to T4a-1..T4a-4 +
    the StorageBackend WriteObserver hook. Adds a Scope note
    pointing at core/host/volume/apply_fact_test.go as the
    T4a-5 host-wire coverage.
  - Matrix wording: walstore described as a second gating row
    in the current harness; the earlier "non-gating per BUG-007"
    language removed. Matches runMatrix + walstoreFactory
    comments.

No code change; tests unaffected.
This commit is contained in:
wzcheng99 committed 2026-04-23 17:33:45 -07:00
1 parent f6ae66254f
commit d37451ea1f
1 file changed
+19 -9
@@ -2,16 +2,26 @@ package replication
// T4a-6 L2 subprocess integration test.
//
// Exercises the full frontend→storage→replication→transport→replica
// wire using real TCP between two in-process BlockExecutor + Replica
// Listener pairs. This is the T4a batch close gate per mini-plan
// §4, and the proof that all T4a landed commits (T4a-1 envelope bump,
// T4a-2 Ship, T4a-3 ReplicaPeer, T4a-4 ReplicationVolume, T4a-5
// Host wire) compose correctly at the integration seam.
// Exercises the storage→replication→transport→replica wire using
// real TCP between two in-process BlockExecutor + ReplicaListener
// pairs. Covers T4a-1 through T4a-4 plus the T4a-6 StorageBackend
// WriteObserver hook added in this landing.
//
// Matrix: smartwal is the sign-bearing substrate (MUST pass).
// walstore is reported non-gating per the T3 matrix discipline
// (may fail on replay-post-crash per BUG-007; non-blocking here).
// Scope note (T4a-6 follow-up): T4a-5's Host authority-callback
// ordering (install-or-refuse, fail-closed) is covered by
// core/host/volume/apply_fact_test.go, NOT by this file — the
// integration test here drives ReplicationVolume.UpdateReplicaSet
// directly and bypasses Host.applyFact. Both sets of tests
// together cover the T4a landing; see 2ed72bd for the honest
// separation.
//
// Matrix: smartwal is the sign-bearing substrate. walstore is a
// second row that also gates in this harness (QA finding #4
// follow-up removed the earlier "non-gating" fiction; Go's testing
// framework has no clean demote-subtest-failure API, so pretending
// walstore could fail without failing the test was incorrect). If
// walstore ever regresses under BUG-007 the test fails honestly
// and we invest in a real demotion harness.
//
// Frontend is approximated via direct StorageBackend.Write calls.
// The full iSCSI/NVMe PDU layer is NOT exercised (iSCSI and NVMe