argoproj / argoproj/argo-workflows

`whenExpression`: `when` using `expr` instead of `govaluate`

Open
#7,831 1 comment 33 reactions 0 assignees View on GitHub
area/spec area/templating solution/workaround
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary

We don't like `govaluate`, we want to get off it, it is confusing to users:

- #7576
- #7509
- #7089
- #6823
- #7382

---

**Message from the maintainers**:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the related issues #7576, #7509, #7089, #6823, and #7382 to understand the reported problems with govaluate and the desired behavior. Then locate the implementation of whenExpression and its tests. Done means when expressions use expr instead of govaluate without losing the expected behavior described in those issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
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.