From 7016e8faa096a5801d5a08f4041e5a8c62614997 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 10 Feb 2026 07:27:53 +0000 Subject: [PATCH] fix(entrypoint): create dest_dir before download_distribution for nix containers Co-Authored-By: Samuel Mitchell --- flytekit/bin/entrypoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flytekit/bin/entrypoint.py b/flytekit/bin/entrypoint.py index 3011544dec..2ea9a74c31 100644 --- a/flytekit/bin/entrypoint.py +++ b/flytekit/bin/entrypoint.py @@ -733,6 +733,7 @@ def fast_execute_task_cmd(additional_distribution: str, dest_dir: str, task_exec if additional_distribution is not None: if not dest_dir: dest_dir = os.getcwd() + os.makedirs(dest_dir, exist_ok=True) _download_distribution(additional_distribution, dest_dir) # Insert the call to fast before the unbounded resolver args