Skip to main content

orbit_runtime/
lib.rs

1//! The ORBIT runtime: a durable, single-node workflow execution service.
2//!
3//! * [`model`]  — history events and the state folded from them
4//! * [`decide`] — the pure, deterministic workflow decider
5//! * [`store`]  — SQLite persistence (event history is authoritative)
6//! * [`engine`] — dispatch, worker registry, reconciliation and recovery
7//! * [`server`] — HTTP API and the HTTP/JSON worker protocol binding
8//! * [`cluster`] — active/standby operation of several servers on PostgreSQL
9//! * [`shared`] — several active servers sharing the work on PostgreSQL
10//! * [`testing`] — in-process simulation for `orbit test` and `orbit simulate`
11//! * [`ui`] — the built-in web UI served at `/ui/`
12//! * [`replay`] — re-run a recorded history through the current decider
13//! * [`schedule`] — cron and interval schedules that start executions
14
15// TaskError is returned by value on cold paths; boxing would only add noise.
16#![allow(clippy::result_large_err)]
17
18pub mod cluster;
19pub mod decide;
20pub mod engine;
21pub mod grpc;
22pub mod http_adapter;
23pub mod identity;
24pub mod metrics;
25pub mod model;
26pub mod replay;
27pub mod schedule;
28pub mod server;
29pub mod shared;
30pub mod store;
31pub mod telemetry;
32pub mod testing;
33pub mod ui;
34
35pub use engine::{Engine, EngineConfig, EngineError};
36pub use store::Store;