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.

feat(warehouse-sources): add humanitix orders and tickets tables (#111303)

Tom Owersfca5a9c53a82
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
index fb98caf247d3..e7261ec98f50 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
@@ -4171,16 +4171,16 @@ Note: PostHog exposes only 3 tables against a 252-path API. Diffed against the o
## Humanitix — **thin**
-Today (2): `events`, `tags`
+Today (4): `events`, `orders`, `tags`, `tickets`
Diffed against: <https://api.humanitix.com/v1/documentation/json>
-- [ ] `/v1/events/{eventId}/orders` — ticket orders with buyer and revenue data - the core transaction table for any ticketing analysis (high)
-- [ ] `/v1/events/{eventId}/tickets` — individual issued tickets including attendee and check-in state, the line-item table under orders (high)
-- [ ] `/v1/events/{eventId}/check-in-count` — attendance vs sold counts per event, the headline event-day metric (medium)
-- [ ] `/v1/global/event-dates` — occurrence/date rows for recurring events, needed to attribute orders to a specific date (medium)
+- [x] `/v1/events/{eventId}/orders` — ticket orders with buyer and revenue data - the core transaction table for any ticketing analysis (high). Added as `orders` (fan-out over `events`).
+- [x] `/v1/events/{eventId}/tickets` — individual issued tickets including attendee and check-in state, the line-item table under orders (high). Added as `tickets` (fan-out over `events`).
+- [ ] `/v1/events/{eventId}/check-in-count` — attendance vs sold counts per event, the headline event-day metric (medium). Skipped: the API marks it beta and subject to change, it needs a second fan-out over every event date, and it returns one aggregate object per date that a query over `tickets.checkIn` already reproduces.
+- [ ] `/v1/global/event-dates` — occurrence/date rows for recurring events, needed to attribute orders to a specific date (medium). Skipped: it lists event dates from across the whole Humanitix platform rather than the account's own, and needs a permission Humanitix grants by hand. Orders and tickets already carry `eventDateId`, and `events.dates` lists each event's dates.
-Note: Fetched the OpenAPI 3.0 spec directly. PostHog syncs events and tags only, so the two transactional tables the API exists to serve (orders and tickets) are entirely absent. Both are nested under /v1/events/{eventId}, so implementing them needs a per-event fan-out like other nested sources.
+Note: Fetched the OpenAPI 3.0 spec directly. Orders and tickets are nested under /v1/events/{eventId}, so PostHog syncs them with a per-event fan-out over `events`.
## Huntr — gaps
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/canonical_descriptions.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/canonical_descriptions.py
index e48c2a78494b..e02f9d1257fd 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/canonical_descriptions.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/canonical_descriptions.py
@@ -42,4 +42,66 @@ CANONICAL_DESCRIPTIONS: CanonicalDescriptions = {
"updatedAt": "The date and time the tag was last modified.",
},
},
+ "orders": {
+ "description": "A Humanitix order — one checkout for an event, with the buyer's details, payment, and revenue totals.",
+ "docs_url": "https://api.humanitix.com/v1/documentation",
+ "columns": {
+ "_id": "The unique ID of the order.",
+ "eventId": "The ID of the event the order is for.",
+ "eventDateId": "The ID of the event date (occurrence) the order is for.",
+ "userId": "The ID of the user that owns the event.",
+ "currency": "The currency code the order was paid in.",
+ "status": "The status of the order.",
+ "financialStatus": "The payment state of the order: free, paid, partially refunded, or refunded.",
+ "firstName": "The buyer's first name.",
+ "lastName": "The buyer's last name.",
+ "email": "The buyer's email address.",
+ "mobile": "The buyer's mobile number.",
+ "organisation": "The buyer's organisation.",
+ "discounts": "The automatic discount or discount code applied to the order.",
+ "paymentType": "The payment type used for the order.",
+ "paymentGateway": "The payment gateway that processed the order.",
+ "manualOrder": "Whether the order was created manually by the organizer.",
+ "salesChannel": "The channel the order came through: an online sale or a manual order.",
+ "totals": "The order's financial breakdown (subtotal, fees, taxes, discounts, refunds, net and gross sales, total).",
+ "purchaseTotals": "The order's financial breakdown at the time of purchase, before any later changes.",
+ "additionalFields": "Answers to the custom checkout questions for the order.",
+ "completedAt": "The date and time the order was completed.",
+ "incompleteAt": "The date and time the order was marked incomplete.",
+ "location": "The region the order is stored in, as an ISO 3166-1 alpha-2 country code.",
+ "createdAt": "The date and time the order was created.",
+ "updatedAt": "The date and time the order was last modified.",
+ },
+ },
+ "tickets": {
+ "description": "A Humanitix ticket — one issued ticket within an order, with its attendee, price, and check-in state.",
+ "docs_url": "https://api.humanitix.com/v1/documentation",
+ "columns": {
+ "_id": "The unique ID of the ticket.",
+ "eventId": "The ID of the event the ticket is for.",
+ "eventDateId": "The ID of the event date (occurrence) the ticket is for.",
+ "orderId": "The ID of the order the ticket belongs to.",
+ "orderName": "The human-readable reference of the order the ticket belongs to.",
+ "currency": "The currency code the ticket was priced in.",
+ "firstName": "The attendee's first name.",
+ "lastName": "The attendee's last name.",
+ "ticketTypeId": "The ID of the ticket type.",
+ "ticketTypeName": "The name of the ticket type.",
+ "price": "The ticket price.",
+ "discount": "The discount applied to the ticket.",
+ "netPrice": "The ticket price after discounts.",
+ "taxes": "The taxes charged on the ticket.",
+ "fee": "The booking fee charged on the ticket.",
+ "total": "The total charged for the ticket.",
+ "status": "The status of the ticket: complete or cancelled.",
+ "checkIn": "The ticket's current check-in state, with the check-in time and the user that checked it in.",
+ "checkInHistory": "Every check-in and check-out recorded for the ticket.",
+ "cancelledAt": "The date and time the ticket was cancelled.",
+ "salesChannel": "The channel the ticket came through: an online sale or a manual order.",
+ "attendeeProfileId": "The ID of the attendee profile linked to the ticket.",
+ "location": "The region the ticket is stored in, as an ISO 3166-1 alpha-2 country code.",
+ "createdAt": "The date and time the ticket was created.",
+ "updatedAt": "The date and time the ticket was last modified.",
+ },
+ },
}
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/humanitix.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/humanitix.py
index 0121c09f1ffa..2ecb3d7b8b5b 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/humanitix.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/humanitix.py
@@ -1,5 +1,6 @@
import dataclasses
-from typing import Any, Optional
+from collections.abc import Iterable
+from typing import Any, Optional, cast
from requests import Request, Response
@@ -8,25 +9,37 @@ from products.warehouse_sources.backend.temporal.data_imports.sources.common.res
RESTAPIConfig,
rest_api_resource,
)
+from products.warehouse_sources.backend.temporal.data_imports.sources.common.rest_source.fanout import (
+ build_dependent_resource,
+)
from products.warehouse_sources.backend.temporal.data_imports.sources.common.rest_source.paginators import BasePaginator
+from products.warehouse_sources.backend.temporal.data_imports.sources.common.rest_source.typing import ClientConfig
from products.warehouse_sources.backend.temporal.data_imports.sources.common.resumable import ResumableSourceManager
from products.warehouse_sources.backend.temporal.data_imports.sources.common.source_helpers import validate_via_probe
from products.warehouse_sources.backend.temporal.data_imports.sources.common.typings import SourceResponse
-from products.warehouse_sources.backend.temporal.data_imports.sources.humanitix.settings import HUMANITIX_ENDPOINTS
+from products.warehouse_sources.backend.temporal.data_imports.sources.humanitix.settings import (
+ HUMANITIX_ENDPOINTS,
+ PAGE_SIZE,
+ HumanitixEndpointConfig,
+)
HUMANITIX_BASE_URL = "https://api.humanitix.com/v1"
-# The list endpoints accept pageSize 1..100; 100 minimises round trips.
-PAGE_SIZE = 100
# Cheap endpoint used to confirm the API key is genuine. The key is account-wide, so one probe
# validates access to every list endpoint.
DEFAULT_PROBE_PATH = "/events"
[email protected](frozen=True)
class HumanitixResumeConfig:
# Next page to fetch (1-indexed). Page-number pagination is deterministic, so a crashed
# full-refresh sync resumes from the page after the last one yielded; merge dedupes on `_id`.
next_page: int = 1
+ # Fan-out endpoints (orders, tickets) resume by parent event: the child paths already fully
+ # synced, the one in progress, and its paginator state — see
+ # `common.rest_source.__init__._make_paginate_dependent_resource`.
+ completed: Optional[list[str]] = None
+ current: Optional[str] = None
+ child_state: Optional[dict[str, Any]] = None
class HumanitixPaginator(BasePaginator):
@@ -92,6 +105,86 @@ def _headers() -> dict[str, str]:
return {"Accept": "application/json"}
+def _client_config(api_key: str) -> ClientConfig:
+ return {
+ "base_url": HUMANITIX_BASE_URL,
+ "headers": _headers(),
+ "auth": {"type": "api_key", "api_key": api_key, "name": "x-api-key", "location": "header"},
+ "paginator": HumanitixPaginator(page_size=PAGE_SIZE),
+ # Orders and tickets carry attendee details and free-form checkout answers (`additionalFields`)
+ # that the name-based sample scrubbers can't recognise, so keep bodies out of sample capture.
+ "capture": False,
+ }
+
+
+def _make_source_response(
+ config: HumanitixEndpointConfig, items: Any, column_hints: Optional[dict[str, Any]] = None
+) -> SourceResponse:
+ return SourceResponse(
+ name=config.name,
+ items=items,
+ primary_keys=config.primary_keys,
+ partition_count=1,
+ partition_size=1,
+ partition_mode="datetime" if config.partition_key else None,
+ partition_format="month" if config.partition_key else None,
+ partition_keys=[config.partition_key] if config.partition_key else None,
+ column_hints=column_hints,
+ )
+
+
+def _fanout_source(
+ config: HumanitixEndpointConfig,
+ api_key: str,
+ team_id: int,
+ job_id: str,
+ resumable_source_manager: ResumableSourceManager[HumanitixResumeConfig],
+) -> SourceResponse:
+ assert config.fanout is not None
+ parent_config = HUMANITIX_ENDPOINTS[config.fanout.parent_name]
+
+ initial_state: Optional[dict[str, Any]] = None
+ if resumable_source_manager.can_resume():
+ resume = resumable_source_manager.load_state()
+ if resume is not None and (resume.completed or resume.current):
+ initial_state = {
+ "completed": resume.completed or [],
+ "current": resume.current,
+ "child_state": resume.child_state,
+ }
+
+ def save_checkpoint(state: Optional[dict[str, Any]]) -> None:
+ if state is not None:
+ resumable_source_manager.save_state(
+ HumanitixResumeConfig(
+ completed=state.get("completed"),
+ current=state.get("current"),
+ child_state=state.get("child_state"),
+ )
+ )
+
+ dependent_resource = cast(
+ Iterable[Any],
+ build_dependent_resource(
+ endpoint_configs=HUMANITIX_ENDPOINTS,
+ child_endpoint=config.name,
+ fanout=config.fanout,
+ client_config=_client_config(api_key),
+ path_format_values={},
+ team_id=team_id,
+ job_id=job_id,
+ db_incremental_field_last_value=None,
+ parent_endpoint_extra={"data_selector": parent_config.list_key, "data_selector_required": True},
+ child_endpoint_extra={"data_selector": config.list_key, "data_selector_required": True},
+ page_size_param="pageSize",
+ resume_hook=save_checkpoint,
+ initial_paginator_state=initial_state,
+ ),
+ )
+
+ return _make_source_response(config, lambda: dependent_resource)
+
+
def humanitix_source(
api_key: str,
endpoint: str,
@@ -102,13 +195,11 @@ def humanitix_source(
) -> SourceResponse:
config = HUMANITIX_ENDPOINTS[endpoint]
+ if config.fanout is not None:
+ return _fanout_source(config, api_key, team_id, job_id, resumable_source_manager)
+
rest_config: RESTAPIConfig = {
- "client": {
- "base_url": HUMANITIX_BASE_URL,
- "headers": _headers(),
- "auth": {"type": "api_key", "api_key": api_key, "name": "x-api-key", "location": "header"},
- "paginator": HumanitixPaginator(page_size=PAGE_SIZE),
- },
+ "client": _client_config(api_key),
"resources": [
{
"name": endpoint,
@@ -145,17 +236,7 @@ def humanitix_source(
initial_paginator_state=initial_paginator_state,
)
- return SourceResponse(
- name=endpoint,
- items=lambda: resource,
- primary_keys=config.primary_keys,
- partition_count=1,
- partition_size=1,
- partition_mode="datetime" if config.partition_key else None,
- partition_format="month" if config.partition_key else None,
- partition_keys=[config.partition_key] if config.partition_key else None,
- column_hints=resource.column_hints,
- )
+ return _make_source_response(config, lambda: resource, column_hints=resource.column_hints)
def validate_credentials(api_key: str, path: str = DEFAULT_PROBE_PATH) -> tuple[bool, str | None]:
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/settings.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/settings.py
index 51593d412da7..97a8ea1820d1 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/settings.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/settings.py
@@ -1,8 +1,15 @@
from dataclasses import dataclass, field
-from typing import Optional
+from typing import Any, Optional
+from products.warehouse_sources.backend.temporal.data_imports.sources.common.rest_source.fanout import (
+ DependentEndpointConfig,
+)
-@dataclass
+# The list endpoints accept pageSize 1..100; 100 minimises round trips.
+PAGE_SIZE = 100
+
+
+@dataclass(frozen=True)
class HumanitixEndpointConfig:
name: str
path: str
@@ -11,19 +18,51 @@ class HumanitixEndpointConfig:
list_key: str
# Humanitix objects are Mongo documents, so `_id` is a stable, globally unique primary key.
primary_keys: list[str] = field(default_factory=lambda: ["_id"])
- # A stable (never-rewritten) datetime field to partition by. Left unset — every endpoint is
- # full refresh only, so there is no partition cursor to advance.
+ # A stable (never-rewritten) datetime field to partition by.
partition_key: Optional[str] = None
+ # Set for endpoints nested under a parent resource, fetched once per parent row.
+ fanout: Optional[DependentEndpointConfig] = None
+ # Read by the shared fan-out builder. Every endpoint is full refresh, so no incremental fields.
+ incremental_fields: list[Any] = field(default_factory=list)
+ default_incremental_field: Optional[str] = None
+ page_size: int = PAGE_SIZE
+
+
+# Orders and tickets are only listed per event. Fan out over `/events` and stamp the parent event id
+# onto each row, so `eventId` is always present (it is optional on orders) and scopes the key.
+_EVENT_FANOUT = DependentEndpointConfig(
+ parent_name="events",
+ resolve_param="eventId",
+ resolve_field="_id",
+ include_from_parent=["_id"],
+ parent_field_renames={"_id": "eventId"},
+)
-# Humanitix Public API list endpoints. Only genuinely top-level, account-scoped list endpoints are
-# included: `/events` and `/tags`. Orders and tickets are nested under `/events/{eventId}/...`
-# (fan-out per event) and the `/global/*` endpoints return the public marketplace catalog rather
-# than the account's own data, so none of those are exposed here.
-# All are full-refresh only: the list endpoints expose no server-side incremental cursor to advance.
+# Humanitix Public API list endpoints. `/events` and `/tags` are account-scoped top-level lists;
+# orders and tickets fan out per event. The `/global/*` endpoints return the public marketplace
+# catalog rather than the account's own data, so they are not exposed here.
+# All are full refresh only. Orders and tickets accept a `since` filter, but the API does not say
+# which timestamp it compares, so a cursor on `updatedAt` could silently miss refunds and cancellations.
HUMANITIX_ENDPOINTS: dict[str, HumanitixEndpointConfig] = {
"events": HumanitixEndpointConfig(name="events", path="/events", list_key="events"),
"tags": HumanitixEndpointConfig(name="tags", path="/tags", list_key="tags"),
+ "orders": HumanitixEndpointConfig(
+ name="orders",
+ path="/events/{eventId}/orders",
+ list_key="orders",
+ primary_keys=["eventId", "_id"],
+ partition_key="createdAt",
+ fanout=_EVENT_FANOUT,
+ ),
+ "tickets": HumanitixEndpointConfig(
+ name="tickets",
+ path="/events/{eventId}/tickets",
+ list_key="tickets",
+ primary_keys=["eventId", "_id"],
+ partition_key="createdAt",
+ fanout=_EVENT_FANOUT,
+ ),
}
ENDPOINTS = tuple(HUMANITIX_ENDPOINTS.keys())
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/source.py
index 7eb233279099..d11c21b54c00 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/source.py
@@ -55,7 +55,7 @@ class HumanitixSource(ResumableSource[HumanitixSourceConfig, HumanitixResumeConf
releaseStatus=ReleaseStatus.ALPHA,
caption="""Enter your Humanitix API key to pull your Humanitix data into the PostHog Data warehouse.
-You can generate an API key under **Account → Advanced → Public API key** in the Humanitix dashboard. This single key grants read access to your events and tags.
+You can generate an API key under **Account → Advanced → Public API key** in the Humanitix dashboard. This single key grants read access to your events, tags, orders, and tickets.
""",
iconPath="/static/services/humanitix.png",
docsUrl="https://posthog.com/docs/cdp/sources/humanitix",
@@ -99,8 +99,7 @@ You can generate an API key under **Account → Advanced → Public API key** in
force_refresh: bool = False,
api_version: str | None = None,
) -> list[SourceSchema]:
- # Every endpoint is full refresh only — Humanitix's list endpoints expose no server-side
- # timestamp filter, so there is no incremental cursor to advance (INCREMENTAL_FIELDS is empty).
+ # Every endpoint is full refresh only (INCREMENTAL_FIELDS is empty); settings.py explains why.
return build_endpoint_schemas(ENDPOINTS, INCREMENTAL_FIELDS, names)
def validate_credentials(
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix.py
index 7903386918c7..917ebd0c76b1 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix.py
@@ -14,10 +14,6 @@ from products.warehouse_sources.backend.temporal.data_imports.sources.humanitix.
humanitix_source,
validate_credentials,
)
-from products.warehouse_sources.backend.temporal.data_imports.sources.humanitix.settings import (
- ENDPOINTS,
- HUMANITIX_ENDPOINTS,
-)
# RESTClient builds its session via make_tracked_session in the rest_client module.
CLIENT_SESSION_PATCH = "products.warehouse_sources.backend.temporal.data_imports.sources.common.rest_source.rest_client.make_tracked_session"
@@ -204,6 +200,76 @@ class TestPagination:
_collect(_source("events", manager))
+class TestEventFanout:
+ @staticmethod
+ def _wire_with_urls(session: mock.MagicMock, responses: list[Response]) -> list[tuple[str, dict[str, Any]]]:
+ session.headers = {}
+ sent: list[tuple[str, dict[str, Any]]] = []
+
+ def _prepare(request: Any) -> mock.MagicMock:
+ sent.append((request.url, dict(request.params or {})))
+ prepared = mock.MagicMock()
+ prepared.url = request.url
+ return prepared
+
+ session.prepare_request.side_effect = _prepare
+ session.send.side_effect = responses
+ return sent
+
+ @parameterized.expand([("orders",), ("tickets",)])
+ @mock.patch(CLIENT_SESSION_PATCH)
+ def test_fetches_each_event_and_stamps_event_id(self, endpoint, MockSession) -> None:
+ session = MockSession.return_value
+ sent = self._wire_with_urls(
+ session,
+ [
+ _response([{"_id": "e1"}, {"_id": "e2"}], total=2),
+ _response([{"_id": "c1"}], total=1, list_key=endpoint),
+ _response([{"_id": "c2", "eventId": "e2"}], total=1, list_key=endpoint),
+ ],
+ )
+
+ response = _source(endpoint, _make_manager())
+ rows = _collect(response)
+
+ assert [(url.rsplit("/v1", 1)[-1], params) for url, params in sent[1:]] == [
+ (f"/events/e1/{endpoint}", {"page": 1, "pageSize": PAGE_SIZE}),
+ (f"/events/e2/{endpoint}", {"page": 1, "pageSize": PAGE_SIZE}),
+ ]
+ # Orders may omit `eventId`, but it is part of the primary key, so every row must carry it.
+ assert [{key: row[key] for key in response.primary_keys} for row in rows] == [
+ {"eventId": "e1", "_id": "c1"},
+ {"eventId": "e2", "_id": "c2"},
+ ]
+
+ @mock.patch(CLIENT_SESSION_PATCH)
+ def test_resume_skips_completed_events_and_continues_the_current_one(self, MockSession) -> None:
+ session = MockSession.return_value
+ sent = self._wire_with_urls(
+ session,
+ [
+ _response([{"_id": "e1"}, {"_id": "e2"}], total=2),
+ _response(_rows("o", 1), total=PAGE_SIZE + 1, list_key="orders"),
+ ],
+ )
+
+ manager = _make_manager(
+ HumanitixResumeConfig(
+ completed=["/events/e1/orders"], current="/events/e2/orders", child_state={"next_page": 2}
+ )
+ )
+ rows = _collect(_source("orders", manager))
+
+ assert len(rows) == 1
+ assert len(sent) == 2
+ assert sent[1][0].endswith("/events/e2/orders")
+ assert sent[1][1]["page"] == 2
+ # Finishing e2 records it as completed so a later restart skips it too.
+ assert manager.save_state.call_args.args[0] == HumanitixResumeConfig(
+ completed=["/events/e1/orders", "/events/e2/orders"], current=None, child_state=None
+ )
+
+
class TestRetryAndErrors:
@mock.patch(SLEEP_PATCH)
@mock.patch(CLIENT_SESSION_PATCH)
@@ -275,8 +341,3 @@ class TestSourceResponse:
# Every endpoint is full refresh only, so there is no datetime partitioning.
assert response.partition_mode is None
assert response.partition_keys is None
-
- def test_every_endpoint_uses_id_primary_key(self) -> None:
- # Humanitix Mongo `_id`s are globally unique, so a single `_id` key is sufficient table-wide.
- assert all(config.primary_keys == ["_id"] for config in HUMANITIX_ENDPOINTS.values())
- assert set(HUMANITIX_ENDPOINTS) == set(ENDPOINTS)
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix_source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix_source.py
index 75b01784b930..8d79d92d9eaf 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix_source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/humanitix/tests/test_humanitix_source.py
@@ -41,7 +41,7 @@ class TestHumanitixSource:
def test_get_schemas_covers_all_endpoints_as_full_refresh(self) -> None:
schemas = self.source.get_schemas(self.config, self.team_id)
assert {s.name for s in schemas} == set(ENDPOINTS)
- # Humanitix's list endpoints have no server-side timestamp filter, so every schema is full refresh.
+ # Every schema is full refresh: see settings.py for why the `since` filter is not used.
assert all(s.supports_incremental is False for s in schemas)
assert all(s.supports_append is False for s in schemas)
assert all(s.incremental_fields == [] for s in schemas)