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(batch-exports): raise hourly stage timeout to 3 hours (#120410)

Ross58ecfb52c17d
diff --git a/products/batch_exports/backend/temporal/pipeline/entrypoint.py b/products/batch_exports/backend/temporal/pipeline/entrypoint.py
index fa2463504ddf..7319c7b27e59 100644
--- a/products/batch_exports/backend/temporal/pipeline/entrypoint.py
+++ b/products/batch_exports/backend/temporal/pipeline/entrypoint.py
@@ -115,7 +115,7 @@ def _get_config_for_interval(
# TODO - we should reduce this to 1 hour once we are more confident about hitting 1 hour SLAs.
main_start_to_close=max(dt.timedelta(hours=6), override_start_to_close),
# TODO - we should reduce this once we are more confident about hitting 1 hour SLAs.
- stage_start_to_close=dt.timedelta(hours=2),
+ stage_start_to_close=dt.timedelta(hours=3),
failure_check_window=24, # A day's worth of runs
)
diff --git a/products/batch_exports/backend/tests/test_file_download_timeouts.py b/products/batch_exports/backend/tests/test_file_download_timeouts.py
index 62b20cef8aa5..9cf6f3d7465b 100644
--- a/products/batch_exports/backend/tests/test_file_download_timeouts.py
+++ b/products/batch_exports/backend/tests/test_file_download_timeouts.py
@@ -125,7 +125,7 @@ class TestFileDownloadTimeouts(SimpleTestCase):
@parameterized.expand(
[
- ("hour", 21600, 7200, 24),
+ ("hour", 21600, 10800, 24),
("day", 86400, 21600, 7),
("week", 259200, 86400, 4),
("every 5 minutes", 1200, 1200, 12),