Group 3: Implement command chaining and pipeline support #16

Closed
opened 2026-04-16 12:46:25 +02:00 by kade · 0 comments
Owner

Overview

Integrate shell-pool's command chaining API and pipeline support into Blitz.

Description

  • Integrate shell-pool's command chaining API into Blitz
  • Add pipeline support for shell script execution
  • Create Blitz-specific workflow builders
  • Integrate with Blitz's task system

Implementation Steps

  1. Add chaining API to shell-pool-blitz:
    pub async fn execute_chain(&self, commands: Vec<Command>) -> Result<Vec<CommandResult>>
    pub async fn execute_pipeline(&self, pipeline: Pipeline) -> Result<CommandResult>
    
  2. Create workflow builders:
    let workflow = Workflow::new()
        .then("git fetch")
        .then("git pull")
        .then("cargo build")
        .execute(&pool).await?;
    
  3. Integrate with Blitz's task system
  4. Add UI for workflow execution
  5. Add error handling for chain failures

Files

  • services/blitz/crates/shell-pool-blitz/src/chaining.rs (new)
  • services/blitz/crates/shell-pool-blitz/src/pipeline.rs (new)
  • services/blitz/crates/shell-pool-blitz/src/workflow.rs (new)

Estimated Effort

5-7 days

Success Criteria

  • Chaining API functional
  • Pipeline support working with common patterns (find | grep | wc)
  • Workflow builders easy to use
  • Integration with Blitz task system complete
  • Depends on: Group 1, Group 2
  • This is part of the shell-pool Blitz integration epic. See plan document for full integration strategy.
## Overview Integrate shell-pool's command chaining API and pipeline support into Blitz. ## Description - Integrate shell-pool's command chaining API into Blitz - Add pipeline support for shell script execution - Create Blitz-specific workflow builders - Integrate with Blitz's task system ## Implementation Steps 1. Add chaining API to shell-pool-blitz: ```rust pub async fn execute_chain(&self, commands: Vec<Command>) -> Result<Vec<CommandResult>> pub async fn execute_pipeline(&self, pipeline: Pipeline) -> Result<CommandResult> ``` 2. Create workflow builders: ```rust let workflow = Workflow::new() .then("git fetch") .then("git pull") .then("cargo build") .execute(&pool).await?; ``` 3. Integrate with Blitz's task system 4. Add UI for workflow execution 5. Add error handling for chain failures ## Files - `services/blitz/crates/shell-pool-blitz/src/chaining.rs` (new) - `services/blitz/crates/shell-pool-blitz/src/pipeline.rs` (new) - `services/blitz/crates/shell-pool-blitz/src/workflow.rs` (new) ## Estimated Effort 5-7 days ## Success Criteria - Chaining API functional - Pipeline support working with common patterns (find | grep | wc) - Workflow builders easy to use - Integration with Blitz task system complete ## Related Issues - Depends on: Group 1, Group 2 - This is part of the shell-pool Blitz integration epic. See plan document for full integration strategy.
kade 2026-04-16 14:32:22 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kade/blitz#16
No description provided.