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.

chore(signals): drop error tracking backfill limit to 5 (#68298)

Oliver Browne2ccece4b548b
diff --git a/products/signals/backend/temporal/backfill_error_tracking.py b/products/signals/backend/temporal/backfill_error_tracking.py
index 93552323a011..f4973c26dbb7 100644
--- a/products/signals/backend/temporal/backfill_error_tracking.py
+++ b/products/signals/backend/temporal/backfill_error_tracking.py
@@ -33,7 +33,7 @@ class EmitBackfillSignalInput:
@scoped_temporal()
@close_db_connections
async def fetch_error_tracking_issues_activity(input: BackfillErrorTrackingInput) -> list[ErrorTrackingIssueData]:
- """Fetch the 100 most recent error tracking issues ordered by first seen."""
+ """Fetch the 5 most recent error tracking issues ordered by first seen."""
from posthog.schema import DateRange, ErrorTrackingQuery
from posthog.models import Team
@@ -52,7 +52,7 @@ async def fetch_error_tracking_issues_activity(input: BackfillErrorTrackingInput
orderBy="first_seen",
orderDirection="DESC",
volumeResolution=1,
- limit=100,
+ limit=5,
withFirstEvent=True,
withAggregations=False,
),