From 2ddd27a3222865e64e2f37ad397a9694ee41f0c8 Mon Sep 17 00:00:00 2001 From: Natik Gadzhi Date: Sat, 8 Feb 2025 21:46:31 -0800 Subject: [PATCH] Update airbyte-ci/connectors/base_images/base_images/commands.py --- airbyte-ci/connectors/base_images/base_images/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airbyte-ci/connectors/base_images/base_images/commands.py b/airbyte-ci/connectors/base_images/base_images/commands.py index f3fd1e67aaf8..8df42c0e37f9 100644 --- a/airbyte-ci/connectors/base_images/base_images/commands.py +++ b/airbyte-ci/connectors/base_images/base_images/commands.py @@ -153,6 +153,8 @@ async def _publish( async def execute_async_command(command_fn: Callable, *args, **kwargs): """This is a helper function that will execute a command function in an async context, required by the use of Dagger.""" + # NOTE: Dagger logs using Rich now, and two rich apps don't play well with each other. + # Logging into a file makes the CLI experience tolerable. async with dagger.Connection(dagger.Config(log_output=open("dagger.log", "w"))) as dagger_client: await command_fn(dagger_client, *args, **kwargs)