[go: up one dir, main page]

Module executor

Module executor 

Source
Expand description

Task executor for running tasks with environment support and hermetic, input-addressed execution

  • Environment variable propagation
  • Parallel and sequential execution
  • Hermetic workdir populated from declared inputs (files/dirs/globs)
  • Persistent task result cache keyed by inputs + command + env + cuenv version + platform

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
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.