Skip to content

Skip Cursor bubble rows without createdAt timestamp#321

Merged
iamtoruk merged 1 commit into
mainfrom
fix/cursor-undated-bubbles
May 12, 2026
Merged

Skip Cursor bubble rows without createdAt timestamp#321
iamtoruk merged 1 commit into
mainfrom
fix/cursor-undated-bubbles

Conversation

@iamtoruk
Copy link
Copy Markdown
Member

Summary

  • Skip Cursor bubble rows that lack a createdAt timestamp instead of defaulting to new Date(), which misattributed historical usage to Today
  • Filter at both the SQL level (IS NOT NULL) and application level (if (!createdAt) continue)
  • No change to agentKv handling (file mtime fallback is still the most reliable timestamp source for binary protobuf rows)

Based on the bubble-side fix from #262 by @darthrevanyunka.

Validated live against a real Cursor database (5,556 bubble rows, all with createdAt). No data loss, identical output before and after.

Closes #262

Bubble rows without createdAt were defaulting to new Date(), which
misattributed historical or undated usage to Today and inflated the
daily chart. Now filtered at the SQL level and skipped in application
code.

Based on the bubble-side fix from #262 by @darthrevanyunka.
@iamtoruk iamtoruk merged commit fe2e622 into main May 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant