Skip to main content
← Back to list
01Issue
FeatureOpenUATPublic
AssigneesNone

Relationships

#1857 UAT: workflow resume --from with forEach expression template names

Opened by stack72 · 8/26/2026

Context

PR swamp-club/swamp#2275 fixed a bug where workflow resume --from silently did nothing when the forEach step template name contained ${{ }} expressions. No UAT test covers the workflow resume --from path at all.

Test scenarios

  1. Plain template name: Create a workflow with a forEach step named deploy (expands to deploy-dev, deploy-qa). Fail one iteration, resume with --from deploy. Verify the failed iteration re-runs.

  2. Expression template name: Create a workflow with a forEach step named deploy-${{ self.env }} (expands to deploy-dev, deploy-qa). Fail one iteration, resume with --from 'deploy-${{ self.env }}'. Verify the failed iteration re-runs.

  3. Zero-match error: Resume with --from targeting a step that was never reached. Verify a clear error is emitted instead of a silent no-op.

Expected behavior

  • Scenario 1: deploy-qa re-runs, run succeeds
  • Scenario 2: deploy-qa re-runs, run succeeds (this was the bug — previously a silent no-op)
  • Scenario 3: CLI exits with error: --from "<step>" matched zero persisted steps in the run

CLI commands to test

swamp workflow run <wf>
swamp workflow resume <wf> --run <id> --from '<step>'

This is a UAT gap for the swamp-uat repo.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

8/26/2026, 11:02:18 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.