1 oracle.pipelines.fleet_selector
oracle.pipelines.fleet_selector
Select bounded Mac work from admitted roots and measured rollout cycles.
Supply means eligible roots without a prior target attempt, qualified by each queue’s exact source manifest. It is an operational backlog, never evidence of scientific pooling. Generated fragments await target preflight and a frozen queue before they count. Endpoint reachability cannot change frozen ownership.
1.1 Classes
| Name | Description |
|---|---|
| FleetSelectorConfig | Frozen ownership and adjustable operational supply watermarks. |
| FleetWorkDecision | Fresh operational projection; unavailable measurements remain null. |
1.1.1 FleetSelectorConfig
oracle.pipelines.fleet_selector.FleetSelectorConfig()Frozen ownership and adjustable operational supply watermarks.
1.1.1.1 Attributes
| Name | Description |
|---|---|
| root_plan_path | Frozen finite root assignments; newly published fragments need admission. |
| owner_host | Exact host identity shared by the root plan and every selected queue. |
| rollout_queue_paths | Explicit admitted queues in fair tranche order; add new admissions on restart. |
| admitted_queue_inventory_path | Optional atomic JSON inventory extending frozen queues after target admission. |
| refill_below_hours | Enter root replenishment below this measured consumption horizon. |
| stop_refill_at_hours | Leave root replenishment at this horizon; hysteresis persists on restart. |
| minimum_cycle_samples | Complete attempt cycles required before reporting measured supply hours. |
1.1.2 FleetWorkDecision
oracle.pipelines.fleet_selector.FleetWorkDecision(
kind,
path,
reason,
refill_roots,
eligible_unscheduled_roots,
supply_hours,
cycle_samples,
cycle_mean_seconds,
cycle_range_seconds,
root_remaining,
inventory_complete=True,
)Fresh operational projection; unavailable measurements remain null.
1.1.2.1 Attributes
| Name | Description |
|---|---|
| kind | Selected heavy work, or no launch while blocked/exhausted. |
| path | Exact frozen queue/plan selected for the next bounded invocation. |
| reason | Machine-readable disposition supporting the selected work. |
| refill_roots | Hysteresis state persisted before launch for crash/restart reconciliation. |
| eligible_unscheduled_roots | Admitted source identities without a previous or terminal target attempt. |
| supply_hours | Unscheduled root count times observed mean attempt-cycle hours. |
| cycle_samples | Measured terminal cycles, including exclusions/failures and validation. |
| cycle_mean_seconds | Mean complete-cycle wall seconds; no unit-only timing fallback. |
| cycle_range_seconds | Observed minimum/maximum, explicitly not a prediction interval. |
| root_remaining | Host-owned root snippets not yet receipted; runner reconciles publication. |
| inventory_complete | Whether all configured admissions and locks were observed in this decision. |
1.1.2.2 Methods
| Name | Description |
|---|---|
| to_jsonable | Return detached status fields without promising an ETA or pooling. |
1.1.2.2.1 to_jsonable
oracle.pipelines.fleet_selector.FleetWorkDecision.to_jsonable()Return detached status fields without promising an ETA or pooling.
1.2 Functions
| Name | Description |
|---|---|
| read_fleet_queue_inventory | Read explicit admitted pointers and captured bytes for currentness checks. |
| select_fleet_work | Reconcile exact host ownership and choose one bounded heavy worker. |
1.2.1 read_fleet_queue_inventory
oracle.pipelines.fleet_selector.read_fleet_queue_inventory(
config,
*,
root_plan_hash,
)Read explicit admitted pointers and captured bytes for currentness checks.
Missing optional inventory returns no paths and no bytes, allowing callers to report unavailability. An existing inventory must retain all configured queues and match frozen host/plan identity. Queue admission is checked by the canonical queue reader, not by this pointer parser.
1.2.2 select_fleet_work
oracle.pipelines.fleet_selector.select_fleet_work(
config,
*,
refill_roots=False,
previous_queue=None,
)Reconcile exact host ownership and choose one bounded heavy worker.
All configured local locks must be free before measuring supply. Missing endpoints fail closed; they are never reassigned. Measurements must share the same writer profile. Insufficient support selects one rollout bootstrap unit; it cannot manufacture a numerical horizon. Once finite root work is exhausted, eligible queues may continue their frozen seeded repetitions.