wrkflw-executor

Crates.iowrkflw-executor
lib.rswrkflw-executor
version0.7.3
created_at2025-08-09 13:21:02.956474+00
updated_at2025-08-28 07:32:41.185436+00
descriptionWorkflow execution engine for wrkflw
homepagehttps://github.com/bahdotsh/wrkflw
repositoryhttps://github.com/bahdotsh/wrkflw
max_upload_size
id1787923
size271,627
Gokul (bahdotsh)

documentation

https://github.com/bahdotsh/wrkflw

README

wrkflw-executor

The execution engine that runs GitHub Actions workflows locally (Docker, Podman, or emulation).

  • Features:
    • Job graph execution with needs ordering and parallelism
    • Docker/Podman container steps and emulation mode
    • Basic environment/context wiring compatible with Actions
  • Used by: wrkflw CLI and TUI

API sketch

use wrkflw_executor::{execute_workflow, ExecutionConfig, RuntimeType};

let cfg = ExecutionConfig {
    runtime: RuntimeType::Docker,
    verbose: true,
    preserve_containers_on_failure: false,
};

// Path to a workflow YAML
let workflow_path = std::path::Path::new(".github/workflows/ci.yml");

let result = execute_workflow(workflow_path, cfg).await?;
println!("workflow status: {:?}", result.summary_status);

Prefer using the wrkflw binary for a complete UX across validation, execution, and logs.

Commit count: 183

cargo fmt