Skip to main content

Module runtime

Module runtime 

Source
Expand description

Per-execution runtime context shared between sources, dispatch, and event emission.

ExecutionContext is the durable carrier for one playbook execution. Both the CLI’s local-mode runner and the worker’s NATS daemon construct one of these per invocation; the dispatch layer reads from it to resolve credentials, look up rendered step input, and emit events into the configured sink.

This module deliberately starts minimal — the skeleton commits the shape, R-1.2 (extraction PR) fills in the concrete fields by porting them from repos/cli/src/playbook_runner.rs.

Structs§

ExecutionContext
Carries everything one execution needs. Cheap to clone via Arcs on the inner heavy fields.

Traits§

CredentialResolver
Trait for resolving keychain credential aliases at step-execution time. Mirrors the Python-side noetl.core.credential_refs resolution flow; see noetl/noetl wiki page credential-resolution-flow.

Type Aliases§

ExecutionId
Identifies one playbook execution end-to-end.