mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-23 00:41:13 +00:00
Instead of creating a separate Docker/Daytona sandbox per stage inside AgentBackend::run(), create the execution environment once in run_command(), initialize it, run setup commands, and pass it through EngineServices to all handlers. This lets multi-stage pipelines share file changes across nodes and avoids redundant container/sandbox creation. Key changes: - Add execution_env field to EngineServices - Add execution_env param to CodergenBackend::run() trait method - Remove env creation, setup_commands, daytona_config from AgentBackend - Lift env lifecycle (create, initialize, setup, cleanup) to run_command() - Use scopeguard for cleanup on error/panic paths - Update PipelineEngine constructors to accept execution_env Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Entire-Checkpoint: 92cbe0d3c133 |
||
|---|---|---|
| .. | ||
| agent | ||
| attractor | ||
| git-storage | ||
| llm | ||
| redact | ||
| terminal | ||