: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
chore(s3): Bump upload part max retries (#85767)
Tomás Farías Santanaa766280d6d86
diff --git a/products/batch_exports/backend/temporal/destinations/s3_batch_export.py b/products/batch_exports/backend/temporal/destinations/s3_batch_export.pyindex 0fb023a1718e..ba60d546234e 100644--- a/products/batch_exports/backend/temporal/destinations/s3_batch_export.py+++ b/products/batch_exports/backend/temporal/destinations/s3_batch_export.py@@ -735,7 +735,7 @@ class ConcurrentS3Consumer(Consumer):concurrent uploads and the memory buffer."""- UPLOAD_PART_MAX_ATTEMPTS: int = 5+ UPLOAD_PART_MAX_ATTEMPTS: int = 10MAX_RETRY_DELAY: float = 32.0INITIAL_RETRY_DELAY: float = 1.0EXPONENTIAL_BACKOFF_COEFFICIENT: float = 2.0diff --git a/products/batch_exports/backend/tests/temporal/destinations/s3/test_workflow_error_handling.py b/products/batch_exports/backend/tests/temporal/destinations/s3/test_workflow_error_handling.pyindex 96ded9eba6ee..70cd844d5f4b 100644--- a/products/batch_exports/backend/tests/temporal/destinations/s3/test_workflow_error_handling.py+++ b/products/batch_exports/backend/tests/temporal/destinations/s3/test_workflow_error_handling.py@@ -261,7 +261,7 @@ async def test_s3_export_workflow_with_request_timeouts(async def faulty_upload_part(*args, **kwargs):nonlocal raised- if raised < 5:+ if raised < ConcurrentS3Consumer.UPLOAD_PART_MAX_ATTEMPTS:raised = raised + 1raise botocore.exceptions.ClientError(error_response={