From be5cdb65d4d9d82f009b550421b1c2f290275b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Thu, 19 Oct 2023 17:27:25 +0200 Subject: [PATCH] fix(batch-exports-backfill): Instantiate tuple when resuming from heartbeat (#18092) --- posthog/temporal/workflows/backfill_batch_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/temporal/workflows/backfill_batch_export.py b/posthog/temporal/workflows/backfill_batch_export.py index 21f8c21398633..10cc2d31d42ed 100644 --- a/posthog/temporal/workflows/backfill_batch_export.py +++ b/posthog/temporal/workflows/backfill_batch_export.py @@ -123,7 +123,7 @@ async def backfill_schedule(inputs: BackfillScheduleInputs) -> None: if details: # If we receive details from a previous run, it means we were restarted for some reason. # Let's not double-backfill and instead wait for any outstanding runs. - last_activity_details = details[0] + last_activity_details = HeartbeatDetails(*details[0]) details = HeartbeatDetails( schedule_id=inputs.schedule_id,