Track Playwright package-lock.json so CI cache step resolves#453
Conversation
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>
|
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 ignored due to path filters (1)
📒 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 18 minutes and 2 seconds.Comment |
Summary
!src/e2e-playwright/package-lock.jsonto root.gitignore(the existingpackage-lock.jsonrule was filtering it out, alongside angular and website allow-list entries)actions/setup-node'scache-dependency-pathresolves andnpm cihas something to install fromWhy
Playwright caching landed in #452, but the workflow references
src/e2e-playwright/package-lock.jsonand that file was being silently filtered by.gitignore. CI ondevelop(and any new PR against it) fails at the Set up Node.js step with:npm cion the next line would also have failed without a lockfile. Adding the allow-list entry plus the lockfile unblocks the cache step and the subsequent install.Test plan
Cache hit for ...) andInstall Playwright browsersis skipped🤖 Generated with Claude Code