Commit Graph
2459 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 027e4da2f0 test: the documented standalone planned hand-over to the same host, end to end
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>
2026-11-22 00:56:21 -08:00
pingqiu 8abbae408f test: scaffold real-binary standalone handover harness 2026-11-21 23:10:20 -08:00
Ping Qiu 7f4f61d9ce Merge pull request #400 from seaweedfs/train/20261122-18
train 18: same-holder re-grant after lease expiry
2026-11-21 22:14:24 -08:00
pingqiu df9599524b Merge PR #395 2026-11-21 21:41:03 -08:00
pingqiu 53b41f808f Merge commit '626fd811' into fix/oss-holder-resume
# Conflicts:
#	docs/design/agent-workspace-design.md
#	docs/design/invariants.md
#	docs/workspace-lease.md
2026-11-21 21:29:27 -08:00
pingqiu 0d7808c9ad test: bound regrant durability handshakes and clarify renewal scope 2026-11-21 21:23:47 -08:00
Ping Qiu 626fd811a4 Merge pull request #394 from seaweedfs/train/20261122-17
train 17: same-host clean move of a sealed HEAD
2026-11-21 21:22:23 -08:00
pingqiu 742d248a78 test: preserve persisted regrant skew across a smaller restart setting 2026-11-21 21:12:08 -08:00
pingqiu 5af76730c7 test: require sealed regrant return to preserve proof and refuse guest IO 2026-11-21 21:05:38 -08:00
pingqiu 7e8084c7a4 fix: keep expired renewal nonblocking behind held authority writes 2026-11-21 21:02:35 -08:00
pingqiu bc43c66786 docs: specify expired-holder regrant behind the shared MAX barrier 2026-11-21 20:59:09 -08:00
pingqiu db9f8ff5f2 test: witness regrant durability force exclusion and empty-root restore 2026-11-21 20:57:20 -08:00
pingqiu 823a7b9e2d fix: durably regrant expired unchanged owners after forced-move barrier 2026-11-21 20:56:09 -08:00
pingqiu 1a623b38a4 Merge remote-tracking branch 'origin/main' into fix/oss-holder-resume 2026-11-21 20:55:33 -08:00
pingqiu d7b236de69 Merge PR #392
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:48:59 -08:00
Ping Qiu e051d1b5f7 Merge pull request #393 from seaweedfs/train/20261122-16
train 16: planned hand-over CLI, last long invariant row
2026-11-21 20:43:24 -08:00
pingqiu 612b3276c0 docs: recount invariant ledger after merging current main 2026-11-21 20:34:04 -08:00
pingqiu 7be16b8cb8 Merge remote-tracking branch 'origin/main' into fix/oss-same-host-clean-move 2026-11-21 20:33:52 -08:00
pingqiu c1033cb8af test: pin regrant to the existing later forced-move skew barrier 2026-11-21 20:10:25 -08:00
pingqiu 7ed752eb29 docs: use the approved same-host clean move invariant text 2026-11-21 20:09:42 -08:00
pingqiu 20ce4ea004 Merge PR #390
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:09:18 -08:00
pingqiu 64f47d337f Merge PR #391 2026-11-21 20:09:12 -08:00
pingqiu a489f4e1f5 test: clone protobuf requests without copying lock state 2026-11-21 20:08:15 -08:00
pingqiu e6fcfd38b9 test: retain endpoint refusal evidence and place G3 row in ledger 2026-11-21 20:07:59 -08:00
pingqiu b2a28dea39 test: match the plain detach result contract 2026-11-21 20:06:34 -08:00
pingqiu 7968ea3904 test: connect expired regrant to sealed reopen and local WAL return 2026-11-21 20:06:15 -08:00
pingqiu 8120d0102d test: require the full skew barrier before same-holder regrant 2026-11-21 20:04:44 -08:00
pingqiu dd6fd3c2bb cli: clarify logical holder and sealed generation fields 2026-11-21 20:02:31 -08:00
pingqiu f9177aa249 docs: trace same-host clean return through the sealed HEAD claim 2026-11-21 20:02:31 -08:00
pingqiu 87b92007dd test(cli): pin operator identity output order 2026-11-21 20:02:07 -08:00
pingqiu 1f2bcd82bb test: preserve same-host clean proof and sealed image controls 2026-11-21 20:01:49 -08:00
pingqiu 26702a36aa fix: allow sealed clean moves to return to the same host 2026-11-21 20:00:07 -08:00
pingqiu 4a58b209b0 docs(cli): distinguish host validity from forced-move admission 2026-11-21 19:55:06 -08:00
Ping Qiu 0dd882d419 Merge pull request #389 from seaweedfs/train/20261122-15
train 15: host-slot wait for timer cuts, upload reuse after an aborted cut
2026-11-21 19:53:47 -08:00
pingqiu 96079684fb test(cli): exercise planned handoff against the real master RPCs 2026-11-21 19:53:40 -08:00
pingqiu a6190e59f6 docs(cli): document seal-before-revoke planned handoff workflow 2026-11-21 19:50:12 -08:00
pingqiu c5d9a99d34 fix(cli): validate presence and value of the seal declaration 2026-11-21 19:48:45 -08:00
pingqiu 25493cf7ae test(cli): reject a zero seal flag combined with unsealed revocation 2026-11-21 19:48:31 -08:00
pingqiu 7071b9af72 feat(cli): print existing workspace lease ACK and move facts 2026-11-21 19:48:12 -08:00
pingqiu f99538eb5d test(cli): specify the read-only workspace handoff view 2026-11-21 19:47:31 -08:00
pingqiu 4d5056090c test(cli): preserve exact existing HTTP error response bytes 2026-11-21 19:46:37 -08:00
pingqiu dacd9be6ff feat(cli): expose plain detach and print the sealed generation 2026-11-21 19:46:24 -08:00
pingqiu 0dde418dfd test(cli): specify plain detach request and seal readout 2026-11-21 19:45:52 -08:00
pingqiu a20e83872c feat(cli): encode clean authority moves without orchestration 2026-11-21 19:43:01 -08:00
pingqiu a1f524e625 test(cli): specify clean move encoding and grant binding 2026-11-21 19:42:14 -08:00
pingqiu b3e98de4a4 feat(cli): expose explicit workspace revocation over the existing RPC 2026-11-21 19:41:14 -08:00
pingqiu 11079b620a test: inspect the volume binding list explicitly 2026-11-21 19:41:06 -08:00
pingqiu 5a2fe0c657 test: witness sealed same-host clean move and binding retirement 2026-11-21 19:40:47 -08:00
pingqiu 2c681f3cfd test(cli): require an explicit seal choice before revocation 2026-11-21 19:40:31 -08:00
pingqiu fd7b4569d4 test(cli): specify explicit workspace revocation requests 2026-11-21 19:38:39 -08:00