You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loop condition errors can leave partial results marked Completed #9499
Loop End evaluates its condition after sending port_completed for its output ports. Region completion is port-based, so an undefined name in the condition can leave the UI showing Completed with partial results, even though the console reports a NameError.
Before: port completion → condition raises → partial results shown as Completed.
After: validate the condition before completion notifications; an error keeps the region incomplete.
How to reproduce?
Run a loop with a valid body and update expression.
Set Loop End's condition to reference an undefined variable.
Observe the console error and the workflow's Completed status after the first iteration.
Version/Branch
1.4.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
b9d6f11 (PR #9498; unchanged Loop End code from main).
What browsers are you seeing the problem on?
Chrome
Relevant log output
NameError: name 'score' is not defined, followed by a Completed workflow state with only the first iteration's result.
Activity
aglinxinyuan commentedon Nov 16, 2026
/take