Prevent shared-isolation foreach resumes from re-running terminal task steps. - skip foreach step instances whose persisted status is already done or skipped before launching step-execute - log resume skips so restart behavior is auditable during shared-isolation foreach runs - add regression coverage for all-done resumes, mixed done/skipped resumes, and in-progress step replays Files changed: .../src/__tests__/workflow-graph-foreach.test.ts | 85 ++++++++++++++++++++++ packages/engine/src/workflow-graph-foreach.ts | 13 ++++ 2 files changed, 98 insertions(+) Fusion-Task-Id: FN-6087 Fusion-Task-Lineage: 56805a5c-a1ea-41bc-a758-1afed83c6bb7
46 KiB
46 KiB