Group 4: Implement DAG execution and workflow orchestration #17

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

Overview

Integrate shell-pool's DAG support (opt-in via workflow_id) and workflow orchestration.

Description

  • Integrate shell-pool's DAG support (opt-in via workflow_id)
  • Create Blitz-specific workflow definition format
  • Implement workflow visualization
  • Add workflow execution engine

Implementation Steps

  1. Add DAG execution API:
    pub async fn execute_graph(&self, graph: TaskGraph) -> Result<HashMap<String, CommandResult>>
    
  2. Create workflow definition format (YAML/JSON):
    workflow:
      name: build-and-test
      tasks:
        - id: fetch
          command: git fetch
        - id: build
          command: cargo build
          depends_on: [fetch]
        - id: test
          command: cargo test
          depends_on: [build]
    
  3. Implement workflow execution engine
  4. Add workflow validation
  5. Create workflow editor UI

Files

  • services/blitz/crates/shell-pool-blitz/src/dag.rs (new)
  • services/blitz/crates/shell-pool-blitz/src/workflow_engine.rs (new)
  • services/blitz/crates/shell-pool-blitz/src/workflow_definition.rs (new)

Estimated Effort

7-10 days

Success Criteria

  • DAG execution functional
  • Workflow definition format working
  • Workflow validation complete
  • Workflow editor UI functional
  • Depends on: Group 1, Group 2, Group 3
  • This is part of the shell-pool Blitz integration epic. See plan document for full integration strategy.
## Overview Integrate shell-pool's DAG support (opt-in via workflow_id) and workflow orchestration. ## Description - Integrate shell-pool's DAG support (opt-in via workflow_id) - Create Blitz-specific workflow definition format - Implement workflow visualization - Add workflow execution engine ## Implementation Steps 1. Add DAG execution API: ```rust pub async fn execute_graph(&self, graph: TaskGraph) -> Result<HashMap<String, CommandResult>> ``` 2. Create workflow definition format (YAML/JSON): ```yaml workflow: name: build-and-test tasks: - id: fetch command: git fetch - id: build command: cargo build depends_on: [fetch] - id: test command: cargo test depends_on: [build] ``` 3. Implement workflow execution engine 4. Add workflow validation 5. Create workflow editor UI ## Files - `services/blitz/crates/shell-pool-blitz/src/dag.rs` (new) - `services/blitz/crates/shell-pool-blitz/src/workflow_engine.rs` (new) - `services/blitz/crates/shell-pool-blitz/src/workflow_definition.rs` (new) ## Estimated Effort 7-10 days ## Success Criteria - DAG execution functional - Workflow definition format working - Workflow validation complete - Workflow editor UI functional ## Related Issues - Depends on: Group 1, Group 2, Group 3 - 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#17
No description provided.