Expand description
Backfill orchestration: plan units → gate → run each unit through
executor::run_expanded under bounded concurrency → record every unit’s
terminal outcome in the durable progress marker.
Reuses expand (so every config gate applies) and the executor (so
transforms / quality / contract / masking / DLQ / flush-completing cancel
all behave exactly like faucet run). Each unit runs the selected root
node with:
${backfill.*}tokens substituted in its source + sink configs,- the
${now.*}clock set to the unit’s window start, - a namespaced row id (
backfill::{unit}) so its state key never touches the forward-sync bookmark, - delivery forced to at-least-once (pair with
write_mode: upsertfor idempotent replays).
Structs§
- Backfill
Options - Inputs for one
faucet backfillinvocation. - Backfill
Outcome - Overall backfill result.
- Unit
Report - Per-unit report line.
Enums§
- Backfill
Range - The requested replay range.
Functions§
- run_
backfill - Run a backfill. Returns the per-unit outcome table;
Erronly for planning/gating/config failures (unit failures are reported in the outcome and via a non-Oksummary the caller maps to an exit code).