mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Closes #525. Extends #529's timeout-path fix to the two remaining paths in LambdaExecutorService.executeSync that were still returning a potentially-dirty container to the warm pool. - InterruptedException: the container may still be processing the previous request, so the response from the old invocation could be returned to a new one. Destroy the handle instead of releasing it. - Exception (e.g. runtime API communication failure): container state is unknown. Destroy rather than trust it for reuse. Matches AWS Lambda behavior where a container is discarded after any internal error, not reused. Tests mirror the existing timeoutInvocation_destroysHandle_doesNotRelease pattern, one for each path.