miroir/crates
jedarden 137d498377 fix(reshard): implement real progress tracking for reshard status endpoint
Previously GET /_miroir/indexes/{uid}/reshard/status returned hardcoded 0
for documents_backfilled and total_documents. This commit:

1. Adds documents_backfilled and total_documents fields to ReshardOperationState
2. Adds update_progress() method to ReshardingRegistry
3. Adds progress_callback to ReshardOrchestratorConfig
4. Updates the HTTP endpoint to return actual progress values
5. Updates all test cases to include the new fields

The progress_callback is invoked after backfill completes to update the
registry with the final document counts. The status endpoint now returns
real progress data instead of hardcoded zeros.

Closes: bf-22jkc
2026-05-26 18:42:45 -04:00
..
miroir-core fix(reshard): implement real progress tracking for reshard status endpoint 2026-05-26 18:42:45 -04:00
miroir-ctl feat(explain): complete Explain API integrations (plan §13.20) 2026-05-26 17:55:36 -04:00
miroir-proxy fix(reshard): implement real progress tracking for reshard status endpoint 2026-05-26 18:42:45 -04:00