#18026·langfuse

bug: Traces table pagination total shifts while paging under a relative date filter

Author: trungtlyCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbugfeat-tracing

Summary

On the Tracing table with a relative date filter (e.g. Past 1 day, default sort Timestamp DESC), the total page count changes while paging, not just on a fresh load. It can shrink after a couple of "next page" clicks with no filter change - e.g. Page 1 of 6 -> Page 3 of 5.

Repro steps

  1. Open a project -> Tracing -> Traces tab.
  2. Top-right date range control: select a relative preset, e.g. Past 1 day. Leave sort at the default (Timestamp, descending arrow, the default column sort).
  3. Bottom-right pagination bar: note Rows per page (e.g. 50) and the current Page X of Y total.
  4. Click the › ("next page") arrow in the bottom-right pagination bar once. Note the new Page X of Y.
  5. Click › again immediately. Note Page X of Y again.
  6. Compare the three totals (Y) from steps 3-5 - they are not stable; the total can shrink between clicks with no filter or sort change in between.

Expected

Once past page 1, the total shown in the pagination bar (of N) should stay stable for that browsing session - not shift (and definitely not shrink) purely from clicking "next."

Guess at cause (unconfirmed)

Possibly the mechanism that pins the window's upper time bound once you leave page 1 is re-anchoring on every subsequent click (to the newest row on the page you're leaving) instead of only once. For a DESC timestamp sort that would retreat the anchor further back each click, shrinking the counted total as you page deeper - which would explain a total that decreases while paging forward.

Environment

  • Self-hosted, v4.32.0 EE
  • Traces table, relative date filter, default sort, 50 rows/page

No existing issue found for this. No screenshots attached (trace data is confidential).