Part of #332. Staged in draft PR #346.
Summary
Manual retry-loop style graphs can be described as while true with continue/terminal paths. The current rebuild path can add a fallthrough EndEvent or fail to preserve a loop when only nested bodies contain break/terminal paths.
Expected behavior
describe -> exec -> describe should preserve manual while/retry-loop semantics, including:
- loop-back flow without an extra fallthrough EndEvent;
- nested-loop
break that belongs to the nested loop, not the outer manual loop;
- terminal branches inside the loop body;
- valid MPR output after roundtrip.
Current staging status
The relevant code exists in draft PR #346 but depends on umbrella-only manual loop reconstruction. It should be extracted with that reconstruction rather than as the tiny follow-up alone.
Validation target
Focused PR should include synthetic tests for manual loop preservation and pass make build, make lint-go, and make test.
Part of #332. Staged in draft PR #346.
Summary
Manual retry-loop style graphs can be described as
while truewithcontinue/terminal paths. The current rebuild path can add a fallthrough EndEvent or fail to preserve a loop when only nested bodies containbreak/terminal paths.Expected behavior
describe -> exec -> describeshould preserve manual while/retry-loop semantics, including:breakthat belongs to the nested loop, not the outer manual loop;Current staging status
The relevant code exists in draft PR #346 but depends on umbrella-only manual loop reconstruction. It should be extracted with that reconstruction rather than as the tiny follow-up alone.
Validation target
Focused PR should include synthetic tests for manual loop preservation and pass
make build,make lint-go, andmake test.