miroir/crates
jedarden 806bac78ba P2.2: Add write path acceptance tests
Add comprehensive acceptance tests for the document write path:
- 1000 docs indexed via POST — every doc fetch-by-id returns the same doc
- Docs distribute across all configured nodes (uniform distribution)
- Batch with one missing primary key → 400 miroir_primary_key_required
- Doc containing _miroir_shard → 400 miroir_reserved_field
- RG=2, RF=1, 1 group down: write succeeds with X-Miroir-Degraded: groups=1
- RG=2, RF=1, both groups down: 503 miroir_no_quorum
- DELETE by IDs array produces independent per-shard delete calls

All 11 acceptance tests pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 12:29:02 -04:00
..
miroir-core P2.2: Add write path acceptance tests 2026-05-23 12:29:02 -04:00
miroir-ctl P3: Phase 3 Task Registry + Persistence — COMPLETE 2026-05-02 16:50:42 -04:00
miroir-proxy P2.1: Fix session_pinning blocking read and verify acceptance criteria 2026-05-23 12:19:10 -04:00