miroir/crates/miroir-proxy
jedarden a724456312 feat(proxy): add group activation verification (P4.4)
Added verification step to POST /_miroir/replica_groups/{id}/activate:
- Compares document counts between source and new group via stats endpoint
- Allows up to 0.1% variance (accounts for writes during sync)
- Returns 412 Precondition Failed if variance exceeds threshold

Also fixed TaskStore module exports (error, schema) and added RedisPool
struct for CDC integration.

Note: TaskStore trait implementations (redis.rs, sqlite.rs) have method
name/type mismatches with the trait definition (134 methods). This blocks
full compilation - tracked in plan-gap bead. P4.4 group addition tests use
mock clients and don't depend on TaskStore, so core functionality is intact.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 05:44:18 -04:00
..
src feat(proxy): add group activation verification (P4.4) 2026-05-24 05:44:18 -04:00
static feat(proxy): implement SPA with instant-search, facets, URL state, keyboard nav, i18n (P5.21.d, §13.21) 2026-05-24 05:31:06 -04:00
tests Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00
Cargo.toml Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00