Skip to content

test, docs: drop duplicate volume tests and the failover runbook - #402

Merged
CMGS merged 1 commit into
mainfrom
cleanup/volume-tests-docs
Oct 29, 2026
Merged

CMGS merged 1 commit into
mainfrom
cleanup/volume-tests-docs

Conversation

@CMGS

@CMGS CMGS commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Cleanup after the volume rounds; no production code changes.

Docs: deploy.md "Disabling archive failover" was a four-step runbook added by #383 to explain the replica refusal that #398 removed. It keeps the one constraint that still matters: replicas and archive rows retire only through the registry, so drain them with failover on before turning it off.

Tests (each removed check is pinned elsewhere):

  • TestLiveAttachPreservesWritableAndAttachOnlyVolumes: the four-mode test adds a writer and an attach-only writer live and refuses their shape changes.
  • The "detach result" stage of TestLiveVolumePersistenceFailureRetainsRecoverableState: TestLiveDetachResultWriteFailureSurvivesTwoRestarts covers the same failed write in more depth; the table loses its per-stage branches.
  • TestAdmitClaimExcludesReaderUnderWriter: the "writer excludes reader" row of TestVolumeAdmissionMatrix.
  • TestVolumeClaimRejectsDirectCapture: the "applied" case of TestVolumeHoldsRejectCaptureBeforeTrim, which now also checks fork and that no capture reaches the engine.
  • Server TestClaimVolumeCompatibilityExpansion rows that repeat types.ValidateVolumes cases; it keeps the legacy expansion rows.

Net: test −94, docs −27.

Gates: golangci-lint 0 issues. (sandboxd, linux and darwin), fmt clean, asl unchanged, go test -race ./pool/ ./server/.

Remove tests whose behavior another test already pins (claim-time writable plus live add, the detach-result write stage covered by the two-restart test, the reader-under-writer admission row, the direct capture refusals) and fold fork and the no-engine-call check into the capture test. The archive-failover runbook existed to explain the removed replica refusal; keep its one constraint.
@CMGS
CMGS merged commit ca6520d into main Oct 29, 2026
1 check passed
@CMGS
CMGS deleted the cleanup/volume-tests-docs branch October 29, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant