This repository was archived by the owner on Oct 7, 2026. It is now read-only.
Repository navigation
v3.5.41 - Workflow Error Handling Fix (BUG-003B)
π Bug Fixes
BUG-003B: Workflow Error Handling & Recovery
Fixed critical workflow error handling issues:
- β Failed steps now marked as FAILED (β), not completed (β )
- β Workflows halt immediately when required steps fail
- β Dependent steps skipped with clear reasons when dependencies fail
- β Task status correctly updates to "blocked" on failure (not reset to "todo")
- β Error messages include full stack traces and actionable information
Technical Changes
New: StepResult dataclass in tapps_agents/workflow/models.py
- Proper error tracking with success/failure status
- Error details and stack traces
- Artifacts and skip reasons
- JSON serialization support
Updated: cursor_executor.py
- Return
StepResultinstead of raising exceptions - Added
_can_execute_step()dependency validation - Workflow halt logic for required step failures
- Graceful handling of optional step failures
Updated: task.py
- Set task status to "blocked" on workflow failure
- Proper status transitions: todo β in-progress β done/blocked
Quality Metrics
- Code Review Score: 93/100 β (EXCELLENT)
- Test Coverage: Integration tests added
- Documentation: Complete implementation plan and bug resolution docs
Files Changed
tapps_agents/workflow/models.py- New StepResult typetapps_agents/workflow/cursor_executor.py- Error handling refactortapps_agents/cli/commands/task.py- Task status fixestests/integration/test_workflow_error_handling.py- New test suite
Full Changelog: v3.5.40...v3.5.41