kudobuilder / kudobuilder/kudo

Conditional branching

Open
#692 3 comments 0 reactions 0 assignees View on GitHub
kind/enhancement priority/normal
Dominant language
Go
Stars
1.2k
Forks
105
PR merge metrics
No merged PRs in 30d

Description

**What would you like to be added**:

Several people at Meetups have asked about if then else branching within plans. Plans currently handle if then at the task level based on success of the previous task but I'm not sure how/if we handle else.

**Why is this needed**:

Within a plan you may want to have a task run on failure of a previous task. This could probably be achieved by adding an OnFailure attribute to a task, which would be another task.

Contributor guide

Open the contributing guide

Research direction

Start with the KEP process linked in the issue and review how KUDO plans currently represent task-level branching after success. Define the expected behavior for failure-based branching, including how an else path should be specified, before identifying implementation and test locations; done means the behavior is agreed through the KEP process and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.