← Back to list
01Issue
FeatureClosedUATPublic
Assigneesadam
Relationships
#822 UAT: swamp workflow evaluate/run with forEach dynamic workflowIdOrName targets
Opened by adam · 6/25/2026
Gap
tests/cli/workflow/ in swamp-uat currently covers search and validate but has no coverage for swamp workflow evaluate (or run) with forEach steps — and specifically none for dynamic task targets resolved from the iteration item.
Lab #814 ("Resolve dynamic workflow task targets inside forEach", shipped) adds resolution of task.workflowIdOrName from forEach items (mirroring the existing dynamic modelIdOrName targeting) and fixes partial step-name resolution (previously only the first ${{ }} expression resolved). That behavior currently has no UAT guarding it against regression.
Suggested CLI UAT coverage
- A workflow with a
forEachstep whose task istype: workflowandworkflowIdOrName: ${{ self.item.implementation.workflowIdOrName }}. - Run
swamp workflow evaluate <wf> --input-file wave.json --jsonand assert the evaluated step'stask.workflowIdOrNameresolves to the per-item value (not the literal expression). - Assert a step name with multiple
${{ }}expressions (e.g.apply-${{ self.item.host }}-${{ self.item.capability }}) is fully resolved. - Run the workflow end to end and confirm each
forEachitem launches its planner-selected child workflow.
References
- swamp-uat GitHub issue #281 (CLI UAT tracking)
- Lab #814 — Resolve dynamic workflow task targets inside forEach (shipped feature this coverage protects)
02Bog Flow
Closed
No activity in this phase yet.
03Sludge Pulse