Skip to content

solutions_backend.api.rebuilds

Authenticated planning, execution, and inspection of finite historical rebuilds.

Functions

execute_historical_rebuild

execute_historical_rebuild(rebuild_id: UUID, request: HistoricalRebuildExecuteRequest, runtime: AuthenticatedRuntime) -> HistoricalRebuildState

Resume a bounded slice from its durable cursor through the production router.

get_historical_rebuild

get_historical_rebuild(rebuild_id: UUID, runtime: AuthenticatedRuntime) -> HistoricalRebuildState

Return safe durable progress and terminal counters.

plan_historical_rebuild

plan_historical_rebuild(request: HistoricalRebuildPlanRequest, runtime: AuthenticatedRuntime) -> HistoricalRebuildState

Idempotently plan one exact source/window rebuild without starting it.