core/storage alone took 602 s under -short on the shared runner on main,
past the 10 minute per-package limit, so a PR that touches it fails on
the limit, not on a test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The planned hand-over waits 30 s for the old blockvolume's own exit, the
lease bound the lifecycle chapter states.
TestStandaloneCleanMoveWithoutTheACKIsRefused makes the chapter's
negative check deterministic: the volume is sealed, its blockvolume is
killed (a signal sends no ACK), the lease is revoked with the sealed
generation, and the clean move exits 1 with the documented refusal while
workspace show keeps no ACK. Its output is captured into the fixtures and
read by the shared checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs the lifecycle chapter's commands in order against real blockmaster,
blockvolume, sw-block and SeaweedFS on loopback: cluster spec and
lifecycle store, adopt, write and flush a block over NVMe/TCP, plain
detach, revoke with the sealed generation, the old process acknowledges
and exits 0 by itself, show the ACK, clean move to the same host (and its
replay), reopen at the new epoch, and the block reads back unchanged.
The checks that read each step's output are shared with a default-build
test that runs them on output captured from the real binaries
(testdata/planned-handoff), each also refusing another step's output.
The NVMe/TCP host runs in the test process: no root, no nvme_tcp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A preparer (the flusher's checkpoint, the chunk layer's captured-map
publication, BASE complete) captures prior under descMu and prepares later.
If, in between, another root is published and a second publication writes
it into the other slot, prior is released: its extents are free in the live
snapshot, yet the prepare reused prior's page references for unchanged
pages and could allocate its own page or root into the same extent. The
candidate then names a page whose bytes no longer match its hash, and the
next open of the volume fails (open validates only the newest slot's map).
prepareLockedV3 now checks prior's liveness in the same liveMu section that
snapshots the live set (liveSnapshotWithPriorV3) and refuses a released
prior with mapCoverageRefusal("prior_released") before the latching defer;
the caller's next cycle prepares from the current root. The refusal is
counted in ChunkMapStats.PriorReleased. From the snapshot on, nothing else
allocates while m.mu is held and the candidate pins every page it
references, the reused ones included, until it is published or superseded.
INV-WAL-V3-MAP-PRIOR-LIVE-001 (Part B: 304 rows, 218 ACTIVE).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lock-order row claimed the store lock is always released before slot
I/O; recovery, BASE transitions, the checkpoint publication and rollovers
hold it on purpose to exclude writers. The record-refusal row claimed CRC
and footer are refused before a payload is allocated; the scanner must
read a record to check them, after its size is bounded. Both rows stay
STUB.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Each promoted row runs in production by default and every clause of its
statement is asserted by a named test in the default suite. 27 rows stay
STUB; a note groups them by reason (a clause has no asserting test, the
tests only exercise the path, or the asserting test needs a build tag).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Production creates and opens format-v3 stores, so most 'dark', 'not yet
wired' and 'until activation' phrases in the contract were false. Each
phrase was checked against its production caller and now says what is
true: reachable by default, reachable only with a named flag, or no
production caller. Row status is unchanged. Also cites two merged tests
on INV-CUT-STAGED-REUSE-001.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The walkthrough's lookup and the CSI node plugin resolve the namespace
under /sys/class/nvme-subsystem, which holds it only with nvme_core
multipath=Y. Say so, with the check.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The chunk control API answers a cut, snapshot or detach that host
admission refused because every slot is held (or urgent work is
pending) with 503 host_slot_busy, retryable, so a caller resends on
exactly that refusal without reading messages; other capture refusals,
a plain host busy included, keep capture_refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A blockvolume that blockmaster does not know serves nothing and says
little. The standalone document now states the topology file and the
matching flags as required steps, how to check before and after, and
which log line means which missing step.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>