Cache Playwright browsers in CI#452
Conversation
- Cache npm deps via setup-node cache option - Use npm ci instead of npm install for deterministic installs - Cache Playwright browser binaries (~150 MB) in ~/.cache/ms-playwright - On cache hit, only install system deps (apt packages) since browsers are already cached - Cache key includes package-lock.json hash so it invalidates on Playwright version bumps Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Review rate limit: 0/1 reviews remaining, refill in 40 minutes and 51 seconds.Comment |
The Playwright caching added in #452 references src/e2e-playwright/package-lock.json, but the root .gitignore was filtering all package-lock.json files except the angular and website ones. With no lockfile in the repo, actions/setup-node failed at "Some specified paths were not resolved, unable to cache dependencies" and the npm ci step would have failed too. Add an allow-list entry for src/e2e-playwright and check in the generated lockfile. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
actions/cachesetup-nodecache optionnpm ciinstead ofnpm installfor deterministic installspackage-lock.jsonhash so it invalidates on Playwright version bumpsTest plan
🤖 Generated with Claude Code