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): clarify typeform partial-response resync guidance (#71515)

Luke Belton7324f89c19ba
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/source.py
index f2084a027a08..37410b1db52b 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/source.py
@@ -108,10 +108,11 @@ You can generate a personal access token in your [Typeform account settings](htt
),
],
caption=(
- "Completed responses sync incrementally. Including partial & started responses "
- "syncs the whole responses table as a full refresh on every run, since Typeform "
- "has no cursor that covers partial responses. **After changing this, resync the "
- "responses table for the new setting to take effect.**"
+ "Completed responses sync incrementally. Including partial and started responses "
+ "syncs the whole responses table on every run, since Typeform has no cursor for "
+ "partial responses. **To apply this change to an existing source, use 'Delete table "
+ "and resync' on the responses table. 'Sync now' alone won't backfill the responses "
+ "you're adding.**"
),
),
],
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/tests/test_typeform_source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/tests/test_typeform_source.py
index 3d9ba3135197..e2b62be05b0d 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/tests/test_typeform_source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/typeform/tests/test_typeform_source.py
@@ -23,10 +23,12 @@ class TestTypeformSource:
assert field.defaultValue == "completed"
assert [option.value for option in field.options] == ["completed", "completed,partial,started"]
- def test_response_types_field_warns_about_full_refresh(self):
+ def test_response_types_field_points_to_delete_and_resync(self):
field = self._response_types_field()
assert field.caption is not None
- assert "full refresh" in field.caption.lower()
+ # The caption must name the exact destructive action, since a plain "Sync now"
+ # won't backfill the newly included partial/started responses.
+ assert "delete table and resync" in field.caption.lower()
def test_get_schemas_completed_only_uses_submitted_at(self):
config = TypeformSourceConfig(auth_token="token", response_types="completed")