Expand description
Default priority-then-FIFO selector for ready runs.
This module implements the default run selection policy for v0.1:
- Runs are selected by priority (higher values considered higher priority)
- Runs with the same priority are selected in FIFO order (earlier created_at first)
- Runs with identical priority and created_at are selected by RunId for full tie-breaking
Structs§
- Ready
RunSelection Input - Selector-ready input that pairs a run with a pre-resolved snapshot priority.
- Selection
Result - Result of running the default selector.
Functions§
- ready_
inputs_ from_ index - Builds selector-ready inputs from a ready index.
- select_
ready_ runs - Default selector that picks runs by priority (descending), FIFO (ascending created_at), and finally by RunId for full ties.