Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
904252b to
7d7fc0f
Compare
7d7fc0f to
bc119bf
Compare
bc119bf to
97d00a1
Compare
97d00a1 to
6daab23
Compare
6daab23 to
a0d9400
Compare
a0d9400 to
1f156d0
Compare
1f156d0 to
a74a84b
Compare
a74a84b to
e26a5bf
Compare
e26a5bf to
ead0ec7
Compare
ead0ec7 to
cbf869d
Compare
cbf869d to
9ce10f2
Compare
9ce10f2 to
64e84e3
Compare
64e84e3 to
6b7c178
Compare
6b7c178 to
58ba421
Compare
de0da4b to
5caa01e
Compare
Nothing on the network can list every collection, so browse needs its own index. drainJetstream replays Jetstream from a saved cursor until it catches up or runs out of time, and keeps collections plus distinct-account like and follow counts in Redis. Every operation is idempotent, so replaying overlap is safe. Local dev and tests run the same store on an in-memory stand-in for the Redis commands it uses.
…rowse /api/cron/collections-index runs the indexer task when called with CRON_SECRET, since the Vercel preset ignores Nitro's scheduledTasks. The schedule itself ships with the browse UI. /api/social/collections/browse pages the index by recent, most liked or most followed, hiding labeled accounts.
/collections lists collections across the network by recent, most liked or most followed, and it's in the nav and the command palette. Vercel Cron now runs the indexer every 5 minutes, so a new collection's page says it may take that long to show up in browse.
Collections from accounts in CURATED_COLLECTION_DIDS, for now only npmx.dev, get a badge on cards and on their page. It's our policy, not something a record can claim.
5caa01e to
42dc1bf
Compare
🔗 Linked issue
TODO
🧭 Context
TODO
📚 Description
TODO
Stack created with GitHub Stacks CLI • Give Feedback 💬