: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(endpoints): route ducklake shadow comparison to long_running queue (#66277)
Jovan Sakovica40a1ce2bd59
diff --git a/products/endpoints/backend/tasks.py b/products/endpoints/backend/tasks.pyindex de6f4e78ca74..cf01bea46f76 100644--- a/products/endpoints/backend/tasks.py+++ b/products/endpoints/backend/tasks.py@@ -6,6 +6,7 @@ from django.utils import timezonefrom celery import shared_taskfrom structlog import get_logger+from posthog.celery_queues import CeleryQueuefrom posthog.scoping_audit import skip_team_scope_auditfrom products.endpoints.backend.metrics import ENDPOINT_MATERIALIZATION_EVENT_TOTAL@@ -17,7 +18,7 @@ logger = get_logger(__name__)STALE_THRESHOLD_DAYS = 30-@shared_task(ignore_result=True)+@shared_task(ignore_result=True, queue=CeleryQueue.LONG_RUNNING.value)@skip_team_scope_auditdef shadow_compare_ducklake_execution(team_id: int,