mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
* test(stepfunctions): pin that a failing Map iteration stops the .sync job of another The Run a Job guide names an uncaught failure in a Map iteration, next to a Parallel branch failure, as a reason a .sync job is aborted. #4660 covers it through the same InterruptedException catch, because MapIterationScheduler cancels the sibling iterations with cancel(true), but only Parallel was named in step-functions.md and no test held the Map case. One executor test now runs an inline Map whose "fail" item fails while the other item's Task waits on a child execution, and asserts the child is aborted with the AWS cause. Without the catch it fails (child never stopped). The doc names the Map case beside the Parallel one, and the gaps paragraph no longer says a cut Parallel branch is unrecorded, which #4660 changed. Follow-up from the review of #4660. * docs(stepfunctions): record what AWS writes for a Map iteration it cuts Measured in ap-northeast-1: an inline Map iteration that fails records a MapIterationAborted for each iteration it cuts and the *StateAborted of the state it was in, all chained to the failing iteration's last event and before MapIterationFailed and MapStateFailed. The child the cut Task waited on is aborted within about 0.15 s with the Task-state cause, with or without a Catch on the Map. The gaps paragraph and the test's javadoc now say so. --------- Co-authored-by: mitsukado-shinagawa <mitsukado-shinagawa@users.noreply.github.com>