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.

fix(data-warehouse): give a clear message when a sync run is interrupted (#80219)

Tom Owers9d0f7ad8fa7d
diff --git a/products/warehouse_sources/backend/temporal/data_imports/pipelines/pipeline_v3/postgres_queue/consumer.py b/products/warehouse_sources/backend/temporal/data_imports/pipelines/pipeline_v3/postgres_queue/consumer.py
index bd4a721441a7..ab1accb1108d 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/pipelines/pipeline_v3/postgres_queue/consumer.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/pipelines/pipeline_v3/postgres_queue/consumer.py
@@ -73,7 +73,12 @@ FRESHNESS_PROBE_TIMEOUT_SECONDS = 30.0
# Stamped on a run the loader abandoned: its extraction ended without a final batch, so nothing
# finalized it and there is no failed queue batch for the failed-run reconcile to key on.
-STRANDED_RUN_ERROR = "run abandoned before completion (no loader progress; reconciled from queue)"
+# Shown to the customer verbatim as latest_error, so keep it plain and reassuring rather than
+# describing the internal queue mechanics.
+STRANDED_RUN_ERROR = (
+ "This sync run stopped before it finished, so it did not complete. "
+ "The next scheduled sync retries automatically. No action is needed."
+)
# Errors that fail identically on every attempt. Substring-matched because they
# surface as generic exceptions; keep entries specific so transients can't match.