Sort by game_id and created_at for events, use cursor in export#922
Sort by game_id and created_at for events, use cursor in export#922
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #922 +/- ##
===========================================
- Coverage 97.60% 97.59% -0.02%
===========================================
Files 406 406
Lines 6648 6652 +4
Branches 881 882 +1
===========================================
+ Hits 6489 6492 +3
- Misses 75 76 +1
Partials 84 84 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PR Review: Sort by game_id and created_at for events, use cursor in exportThe core approach is solid — cursor-based pagination is the right fix for large event datasets where 5. Test Coverage🔵 No test for multi-page cursor iteration The cursor-update code path (lines 177–179 of const last = rawEvents.at(-1)!
lastCreatedAt = new Date(last.created_at)
lastId = last.idCodecov confirms this as 1 new uncovered line. The tuple cursor comparison Everything else looks good
|
e1d79f5 to
2c56f9e
Compare
2c56f9e to
e2a8146
Compare
No description provided.