Skip to content

Add loop primitive for bounded iteration with exit conditions #41

@lanycrost

Description

@lanycrost

Summary

Implement bounded iteration as a new step primitive with exit conditions.

Problem

Users currently must chain `executeStory` with conditions for retry/iteration scenarios. There is no native loop construct.

Proposed change

Add a loop primitive that:

  • Supports bounded iteration with configurable max iterations
  • Evaluates exit conditions after each iteration
  • Internally uses recursive `executeStory` so it does not violate the DAG model
  • Integrates with the existing primitives support matrix

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/operatorBobrapet controller or CRD-level change.kind/featureNew functionality or enhancement request.priority/highImportant issue to schedule soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions