-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settle parallel branches before re-planning
The agent runtime now runs parallel branches with `Promise.allSettled` instead of `Promise.all`. After the execution is finished, if any of the branches returns a failure, the plan execution is interrupted and re-planning proceeds. This prevents moving on too soon when a failure is encountered and causing unnecessary re-plans. This also moves logging earlier in the plan execution to get feedback as soon as an action is executed successfully or it fails. Change-type: patch
- Loading branch information
Showing
1 changed file
with
81 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters