Skip to main content

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 owns the lifecycle observer contract consumed by
6//! the automatically composed UI.
7//! It accepts only a completed Study and never opens project declarations or
8//! binds execution unit keys itself.
9
10mod error;
11mod event;
12mod execution;
13mod host;
14mod output;
15mod presentation;
16mod resource;
17mod summary;
18
19#[cfg(test)]
20#[path = "runtime/tests/runtime_workflow.rs"]
21mod runtime_workflow_tests;
22
23pub use crate::composition::execute;
24pub use error::RuntimeError;
25pub(crate) use event::RuntimeEvent;
26pub(crate) use execution::execute_with_observer;
27pub(crate) use presentation::{PresentationFailure, RuntimeObserver};
28pub use summary::{
29    MemberRunSummary, PhaseRunSummary, ReplicateRunSummary, RunSummary, TaskRunKind, TaskRunSummary,
30};