Expand description
Background scanner infrastructure.
Scanners iterate execution partitions at fixed intervals, checking for
conditions that require action (expired leases, due delays, index drift).
Each scanner type implements the Scanner trait; the ScannerRunner
drives them as tokio tasks.
Modules§
- attempt_
timeout - Attempt timeout scanner.
- budget_
reconciler - Budget counter reconciler.
- budget_
reset - Budget reset scanner.
- cancel_
reconciler - Cancel-flow dispatch reconciler.
- delayed_
promoter - Delayed execution promoter scanner.
- dependency_
reconciler - Dependency resolution reconciler.
- edge_
cancel_ dispatcher - RFC-016 Stage C — sibling-cancel dispatcher.
- edge_
cancel_ reconciler - RFC-016 Stage D — sibling-cancel reconciler (Invariant Q6 safety net).
- execution_
deadline - Execution deadline scanner.
- flow_
projector - Flow summary projector scanner.
- index_
reconciler - Index consistency reconciler.
- lease_
expiry - Lease expiry scanner.
- pending_
wp_ expiry - Pending waitpoint expiry scanner.
- quota_
reconciler - Quota concurrency reconciler.
- retention_
trimmer - Terminal execution retention scanner.
- suspension_
timeout - Suspension timeout scanner.
- unblock
- Unblock scanner for budget/quota/capability-blocked executions.
Structs§
- Failure
Tracker - Tracks persistently-failing items so they don’t permanently consume
batch slots. After [
FAILURE_THRESHOLD] consecutive failures for the same key, the item is skipped for [BACKOFF_CYCLES] scan cycles. - Scan
Result - Result of scanning one partition.
- Scanner
Runner - Drives a scanner across all execution partitions in a loop.
Traits§
- Scanner
- Trait for background partition scanners.
Functions§
- should_
skip_ candidate - Issue #122: per-candidate filter helper shared by all execution-shaped scanners.