Bug Summary
The example at https://flowexec.io/guide/advanced?id=data-driven-conditions does not work as (I assume) is intended.
Additional context
The flow file:
executables:
- verb: setup
name: feature
serial:
execs:
# Enable a feature flag
- cmd: flow cache set feature-x enabled
# Later workflows can check this flag
- if: store["feature-x"] == "enabled"
cmd: echo "Feature X is enabled"
When run, it does NOT echo "Feature X is enabled".
When I run flow --version I get:
flow version
Version: unknown
Git Commit: unknown
Build date: unknown
Go version: go1.24.6
OS / Arch : linux amd64
I installed flow with:
go install github.com/flowexec/flow@latest
On September 28th.
Bug Summary
The example at https://flowexec.io/guide/advanced?id=data-driven-conditions does not work as (I assume) is intended.
Additional context
The flow file:
When run, it does NOT echo "Feature X is enabled".
When I run
flow --versionI get:I installed flow with:
On September 28th.