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(aio): count late arrivals in the backfill summary sentence (#108419)

Bernat Torres3fe09d1ca1f4
diff --git a/products/ai_observability/frontend/evaluations/components/EvaluationBackfillsTab.tsx b/products/ai_observability/frontend/evaluations/components/EvaluationBackfillsTab.tsx
index c185151cd399..8c60a363a33f 100644
--- a/products/ai_observability/frontend/evaluations/components/EvaluationBackfillsTab.tsx
+++ b/products/ai_observability/frontend/evaluations/components/EvaluationBackfillsTab.tsx
@@ -489,23 +489,14 @@ export function EvaluationBackfillsTab({
<span>
{backfill.dispatched_count.toLocaleString('en-US')} started,{' '}
{backfill.skipped_count.toLocaleString('en-US')} skipped, out of{' '}
- {pluralize(
- backfill.rerun_existing
- ? backfillTotalCount(backfill)
- : backfill.total_count,
- backfill.target
- )}
+ {pluralize(backfill.total_count, backfill.target)}
{backfill.rerun_existing
? ' in range'
: " that hadn't been evaluated when the backfill began"}
+ {lateArrivals > 0 &&
+ `, plus ${lateArrivals.toLocaleString('en-US')} that arrived during the run`}
</span>
</div>
- {lateArrivals > 0 && (
- <div className="text-muted">
- {pluralize(lateArrivals, backfill.target)} arrived in this range after the
- backfill started, so it covered more than the first count found.
- </div>
- )}
{liveCovered > 0 && (
<div className="text-muted">
{pluralize(liveCovered, backfill.target)}{' '}