persist: atomic batch append — contiguous block + transactional guard + 10 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 43s

batch.sx: persist/append-batch commits (type at data) specs as one contiguous
block; persist/append-batch-expect checks the stream is still at expected
before writing any event, so the batch is all-or-nothing under a concurrent
writer (conflict is a value, not a partial write). 162/162.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 19:24:35 +00:00
parent 4e521e3d7a
commit 62a1485302
6 changed files with 180 additions and 5 deletions

View File

@@ -18,5 +18,6 @@ _Generated by `lib/persist/conformance.sh`_
| cas | 11 | 0 | 11 |
| catalog | 10 | 0 | 10 |
| query | 9 | 0 | 9 |
| batch | 10 | 0 | 10 |
| recovery | 6 | 0 | 6 |
| **Total** | **152** | **0** | **152** |
| **Total** | **162** | **0** | **162** |