Skip to content

Fix/1296 following feed n plus 1 - #1419

Open
kodinaka30-ship-it wants to merge 2 commits into
Epta-Node:mainfrom
kodinaka30-ship-it:fix/1296-following-feed-n-plus-1
Open

Fix/1296 following feed n plus 1#1419
kodinaka30-ship-it wants to merge 2 commits into
Epta-Node:mainfrom
kodinaka30-ship-it:fix/1296-following-feed-n-plus-1

Conversation

@kodinaka30-ship-it

Copy link
Copy Markdown

Summary

Reworked the following feed to use a server-side cursor-paginated endpoint instead of issuing one API request per followed account. Updated pagination to rely on the server cursor and current state, preventing duplicate fetches and stale pagination results.

Type of Change

  • Bug fix
  • New feature
  • Contract change (logic, storage, or API)
  • Documentation update
  • Refactor / chore

Testing Done

  • cargo test passes
  • New tests added for changed behaviour
  • Manually verified on Testnet (if applicable)
  • Database migration tested (if applicable)
  • TypeScript SDK tests passed (if applicable)

Verified that feed pagination uses the server cursor and that request counts remain bounded regardless of the number of followed accounts.

Checklist

  • Changes are focused — one concern per PR
  • If a contract function was added or changed, the README API table is updated
  • No unresolved merge conflicts
  • No secrets or private keys committed

Related Issue

Closes #1296

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@kodinaka30-ship-it Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

@kodinaka30-ship-it is attempting to deploy a commit to the Jaja's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Web: Following feed issues up to 100 parallel API requests per render (N+1) and re-fetches everything on paginate

1 participant