Receive APIs: add indexed pagination for listings #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Background
Receive listing endpoints currently collect and sort all matching KV keys before slicing the response. This follow-up tracks cursor-backed listing indexes so owner and admin pages scale with large receive-link counts.
Source: Deferred from receive links fix pass after PR multi-agent code review
File:
worker.js:2641,worker.js:3993Branch:
feature/receive-links-foundationFailure mode
handleListMyReceiveslists owner receive indexes and materializes the full result set before returning a page.handleListAllReceivesscans receive metadata for admin listing behavior.Why deferred from receive links fix pass
Proposed work
handleListMyReceivesto page directly from indexed keys.handleListAllReceivesto avoid full metadata scans for normal admin listing.Acceptance
receives,hasMore, and cursor-compatible pagination metadata.References
feature/receive-links-foundationreceive-links review fix pass.