Module executor

Module executor 

Source
Expand description

Task executor for running tasks with environment support.

  • Environment variable propagation
  • Parallel and sequential execution
  • Host execution; isolation/caching is delegated to other backends

Structs§

ExecutorConfig
Task executor configuration
TaskExecutor
Task executor
TaskResult
Task execution result

Constants§

TASK_FAILURE_SNIPPET_LINES
Number of lines from stdout/stderr to include when summarizing failures

Functions§

execute_command
Execute an arbitrary command with the cuenv environment
execute_command_with_redaction
Execute a command with secret redaction
summarize_task_failure
Build a compact, user-friendly summary for a failed task, including the exit code and the tail of stdout/stderr to help with diagnostics.