Skip to main content

Module orchestrator

Module orchestrator 

Source
Expand description

Local-first build orchestration.

The orchestrator owns the per-run state: the event bus that announces BuildEvents, the source-archive store served to step-executor plugins, the cancellation atomic, and the chain scheduler that dispatches each step to a plugin via the plan-1 plugin host.

Re-exports§

pub use scheduler::run;
pub use state::OrchestratorState;

Modules§

archive
Per-run source archive store.
cache
Host-side cache decision.
cancel
Cancellation atomic.
docker_client
Thin wrapper around bollard for the local executor.
docker_host_fns
Bollard-backed implementations of the hm_docker_* host fns.
events
Build-event broadcast channel.
graph
Chain-bounded DAG built from a wire-typed Pipeline.
output_subscriber
Build-event subscriber that dispatches every BuildEvent into the selected output-formatter plugin’s hm_output_on_event capability.
scheduler
Chain-bounded scheduler. Dispatches each step to its registered step-executor plugin (Docker by default) via the plugin host.
source
Source-archive helpers shared between remote and local run modes.
state
Per-run state visible to host functions.