jaragunde opened a new pull request, #3380: URL: https://github.com/apache/groovy/pull/3380
The previous implementation relied on CompletableFuture.allOf to wait for the Futures to complete, but it isn't actually a fail-fast method. The new implementation assigns whenComplete callbacks to every Future, and calls completeExceptionally on the result Future as soon as one of them completes with error. Adds tests to verify that calls to Awaitable.all and await(a,b) do return early when one of the futures fails, even if one of them didn't complete. Assisted-by: Claude Code (Claude Opus 5.5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
