Expand description
Core execution and orchestration engine for Stormchaser workflows.
This crate contains the logic to execute steps, evaluate HCL expressions, handle state transitions, and manage telemetry.
Modules§
- artifact
- Artifact management and backend integrations.
- db
- Database interaction layer.
- git_
cache - Git caching and cloning utilities.
- handler
- Event handling and dispatching.
- hcl_
eval - HCL expression evaluation and context building.
- hitl
- Human-In-The-Loop (HITL) manual approval handling.
- junit
- JUnit test report parsing and aggregation.
- nats
- NATS JetStream integration for pub/sub events.
- persistence
- Database persistence for workflow and step models.
- resource_
utils - Utilities for parsing resources like CPU and Memory.
- s3
- S3 backend storage implementation.
- secrets
- Secrets management interfaces and backends.
- stdlib
- step_
machine - State machine for individual steps.
- telemetry
- OpenTelemetry tracing and metrics initialization.
- wasm
- WebAssembly module execution utilities.
- workflow_
machine - State machine for full workflow runs.
Statics§
- RUNS_
COMPLETED - Counter metric for the total number of successfully completed workflow runs.
- RUNS_
FAILED - Counter metric for the total number of failed workflow runs.
- RUNS_
STARTED - Counter metric for the total number of started workflow runs.
- STEPS_
COMPLETED - Counter metric for the total number of successfully completed workflow steps.
- STEPS_
FAILED - Counter metric for the total number of failed workflow steps.
- STEPS_
STARTED - Counter metric for the total number of started workflow steps.
- STEP_
DURATION - Histogram metric for the duration of step executions in seconds.
Functions§
- parse_
duration - Parse duration.