perf(lambda): avoid code-copy helper shutdown delay (#5646)

* perf(lambda): avoid code-copy helper shutdown delay

* test(lambda): scope the code-copy fixture threshold

Signed-off-by: Andre Kurait <akurait@amazon.com>

* chore(ci): retry the EKS registry fixture check

Signed-off-by: Andre Kurait <akurait@amazon.com>

---------

Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-10-15 06:57:38 -04:00
1 parent 5a72b4f561
commit f08a443ec9
3 files changed
+54 -2

No files matched your search

@@ -989,7 +989,8 @@ public class ContainerLauncher implements LambdaRuntimeLauncher {
} finally {
if (helperId != null) {
try {
lifecycleManager.stopAndRemove(helperId, null);
// This helper only sleeps while the copy runs; it has no runtime to drain.
lifecycleManager.stopAndRemove(helperId, null, 0);
} catch (Exception e) {
LOG.warnv("Could not remove code-volume helper {0}: {1}", helperId, e.getMessage());
}