feat: increase watchlist item limit and prewarm installs (STR-52) - #46
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Greptile SummaryThe PR raises the supported IMDb list size and adds cache-first background prewarming after configuration saves.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/backend/src/services/imdb-scraper.ts | Adds adaptive 750-item pagination while respecting 10,000-item cursor windows and a 15,000-item ceiling. |
| apps/backend/src/services/watchlist-prewarm.ts | Adds bounded cache-first prewarming with per-instance coalescing and database-backed owner leases. |
| apps/backend/src/services/watchlist.ts | Coalesces concurrent canonical refreshes before applying caller-specific sorting and poster customization. |
| apps/backend/src/routes/api.ts | Schedules prewarming after successful configuration persistence without delaying the response. |
| supabase/migrations/20260901110000_add_watchlist_prewarm_lease.sql | Adds a bounded, service-role-only atomic lease used to coordinate prewarms across instances. |
Reviews (5): Last reviewed commit: "fix(backend): coalesce concurrent watchl..." | Re-trigger Greptile
Owner
Author
|
@greptile review |
Owner
Author
|
@greptile review |
Owner
Author
|
@greptile review |
Owner
Author
|
@greptile review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
waitUntilPerformance validation
Preview: https://stremlist-backend-b4n6rbi25-lelemathrins-projects.vercel.app
Tests
pnpm turbo run build testIssue
STR-52