PR: #123 Branch: release/enable-watchlist-cache Intent: Enable watchlist count caching for manual QA Current Status: CI running or pending
Manual QA checklist (Preview):
- Health check passes: GET /api/health returns 200 from functions/api/health.ts
- Friends list shows watchlist counts; switching accounts reuses cached counts locally
- Background updates occur within REFRESH_WINDOW_MS from src/config/watchlistCache.ts
- Clear client storage; counts still render via server fallback (functions/letterboxd/cache/index.ts feature gate)
- POST to cache updates endpoint authorized and returns 200 (functions/api/watchlist-count-updates/index.ts)
Preview URL: Manual QA Results: Pass/Fail, notes Decision: Approve for production / Blocked
- ✅ Removed obsolete Tauri/Playwright tests
- ✅ Fixed TypeScript compilation errors
- ✅ Aligned React dependency versions
- ✅ Addressed all 4 Copilot review comments:
- Fixed
(import.meta as any)usage with typed access - Removed redundant null coalescing chains
- Replaced dynamic axios import with static import
- Added BackendMovie type interface
- Fixed
- ✅ TypeScript:
tsc --noEmitpasses - ✅ Linting:
npm run lintpasses - ✅ Build:
npm run buildsucceeds - ✅ Tests:
npm test(no test files found as expected)
- Monitor CI workflow completion
- Address any remaining Cloudflare Pages deployment issues