MEDIUM: No pagination on core list endpoints - returns all records #78
Labels
No Label
architecture
backend
bug
feature
frontend
priority:critical
priority:high
priority:low
priority:medium
priority:nice-to-have
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/BillTracker#78
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
Several core API endpoints return ALL records for a user with no pagination or limit:
The bills query is especially expensive as it includes two EXISTS subqueries per row.
Impact
Performance degradation as user data grows. The tracker endpoint aggregates payment data across all months.
Recommended Fix
Add pagination support (limit/offset or cursor-based) to list endpoints. Consider adding a lightweight summary endpoint for the tracker that returns only the current month data.