Skip to main content
← Back to list
01Issue
FeatureOpenUAT
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

  1. A workflow with a forEach step whose task is type: workflow and workflowIdOrName: ${{ self.item.implementation.workflowIdOrName }}.
  2. Run swamp workflow evaluate <wf> --input-file wave.json --json and assert the evaluated step's task.workflowIdOrName resolves to the per-item value (not the literal expression).
  3. Assert a step name with multiple ${{ }} expressions (e.g. apply-${{ self.item.host }}-${{ self.item.capability }}) is fully resolved.
  4. Run the workflow end to end and confirm each forEach item 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
OPENTRIAGEDIN PROGRESSSHIPPED

Open

6/25/2026, 8:10:14 PM

No activity in this phase yet.

03Sludge Pulse
adam assigned adam6/25/2026, 8:34:01 PM

Sign in to post a ripple.