Move watchlist caching to R2 and add Stremio E2E coverage - #44
Merged
Merged
Conversation
release: v1.7.0 — built-in chart catalogs + per-list display mode
- Add Playwright API, UI, and live smoke coverage - Configure disposable Supabase CI jobs and local test setup - Update shared Stremio types, tooling, and database schema
- Add local S3-compatible storage setup and cleanup helpers - Validate cache persistence, pagination, and watchlist removal
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThe PR replaces Supabase watchlist-cache tables with gzip-compressed, generation-indexed R2 objects and adds catalog pagination plus end-to-end coverage.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/backend/src/services/watchlist-cache.ts | Implements generation-based R2 cache reads, writes, stale-manifest recovery, metadata lookup, and conditional tombstone deletion; the previously reported cache races are addressed at current HEAD. |
| apps/backend/src/routes/catalog.ts | Adds validated Stremio skip parsing, 100-item pagination, and no-store response caching. |
| apps/backend/src/services/user.ts | Integrates R2 cache cleanup with watchlist and user deletion flows while isolating cleanup failures. |
| apps/backend/src/lib/r2.ts | Adds lazily initialized S3-compatible client configuration for Cloudflare R2 and local E2E storage. |
| .github/workflows/ci.yml | Adds pull-request E2E execution using local Supabase, MinIO, Playwright browser caching, and failure-report uploads. |
| supabase/migrations/20260826000000_drop_cache_tables_after_r2.sql | Removes the obsolete Supabase cache schema after migration to R2. |
| apps/e2e/playwright.config.ts | Configures the Stremio-focused Playwright harness and local backend integration. |
Reviews (4): Last reviewed commit: "fix(cache): refresh stale R2 manifests" | Re-trigger Greptile
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
Testing