Skip to content

Enhance execution status system to track skipped steps #390

@chrisli30

Description

@chrisli30

Problem

The current execution status system has limitations in tracking skipped steps. Individual steps only have boolean success field, not status enum. Steps skipped due to unmet branch conditions, filter conditions, or unconnected nodes are not recorded in ExecutionLogs.

Impact

  • Workflows with skipped steps show SUCCESS instead of more accurate status
  • Missing audit trail for workflow execution paths
  • Difficult debugging of conditional execution

Proposed Solution

  1. Add step-level status enum (SUCCESS/FAILED/SKIPPED/PENDING)
  2. Record skipped steps in ExecutionLogs with reasons
  3. Update AnalyzeExecutionResult to consider skipped steps
  4. Maintain backward compatibility

This builds on the recent ExecutionStatus enum migration for overall execution status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions