Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(data-warehouse): disable temporal deadlock detector in data-imports tests (#58119)

Marcus Hof3f46b485cb17
diff --git a/posthog/temporal/tests/data_imports/conftest.py b/posthog/temporal/tests/data_imports/conftest.py
index 4bc308d5adc9..c57e3acdcaca 100644
--- a/posthog/temporal/tests/data_imports/conftest.py
+++ b/posthog/temporal/tests/data_imports/conftest.py
@@ -168,6 +168,7 @@ async def run_external_data_job_workflow(
workflow_runner=UnsandboxedWorkflowRunner(),
activity_executor=ThreadPoolExecutor(max_workers=50),
max_concurrent_activities=50,
+ debug_mode=True, # turn off sandbox/deadlock detector
):
await activity_environment.client.execute_workflow(
ExternalDataJobWorkflow.run,
diff --git a/posthog/temporal/tests/data_imports/test_end_to_end.py b/posthog/temporal/tests/data_imports/test_end_to_end.py
index d4d9db49d628..bc84b9b33d9d 100644
--- a/posthog/temporal/tests/data_imports/test_end_to_end.py
+++ b/posthog/temporal/tests/data_imports/test_end_to_end.py
@@ -633,6 +633,7 @@ async def _execute_run(workflow_id: str, inputs: ExternalDataWorkflowInputs, moc
workflow_runner=UnsandboxedWorkflowRunner(),
activity_executor=ThreadPoolExecutor(max_workers=50),
max_concurrent_activities=50,
+ debug_mode=True, # turn off sandbox/deadlock detector
):
await activity_environment.client.execute_workflow(
ExternalDataJobWorkflow.run,