scientific_workflow/runtime.rs
1//! Execution of a completely validated immutable study.
2//!
3//! Runtime owns active mechanics only: output scopes, replicate and phase
4//! scheduling, task admission, cooperative cancellation, and automatic
5//! persistence lifecycle. It also publishes inferred facts to the automatic UI.
6//! It accepts only a completed Study and never opens project declarations or
7//! binds model keys itself.
8
9mod error;
10mod execution;
11mod host;
12mod output;
13mod summary;
14
15/// Ordinary application-facing runtime API.
16///
17/// This scope is intentionally empty. Ordinary applications call the
18/// crate-level `run(&Path)` facade; Runtime itself accepts only a completed
19/// Study through its Advanced API.
20pub mod basic {}
21
22/// Supported runtime API for inspection, embedding, and Workflow peer modules.
23pub mod advanced {
24 #[allow(unused_imports)]
25 pub use super::basic::*;
26 pub use super::error::RuntimeError;
27 pub use super::execution::execute;
28 pub use super::summary::{
29 PhaseRunSummary, ReplicateRunSummary, RunSummary, TaskRunKind, TaskRunSummary,
30 };
31}