Files
windmill/system_prompts/base
hugocasaandClaude Opus 5.5 0496abbad8 feat: stop a loop once a failure threshold of iterations has failed (#12686)
* feat: stop a for loop once a failure threshold of iterations has failed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: cancel unpulled iterations at the threshold, spare ones awaiting a retry or approval

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: cancel only iterations no worker picked up, fail on the threshold after a recovery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: pin that recovered iterations still reach the failure threshold

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: make the loop failure threshold an expression and support while loops

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf: evaluate the loop failure threshold from the already-parsed loop step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: skip the failure threshold of an empty for loop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: address review nits on the loop failure threshold

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:49:50 +01:00
..