You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the existing SHA-pinned setup-node action to cache npm package downloads in the read-only regression job. The key covers both lockfiles. Both npm ci --ignore-scripts invocations and all existing checks remain; no node_modules, build outputs, or credentials are cached. The release job and its cache behavior are unchanged.
Master regression: 70s job, 33s client install. Different events; not a before/after comparison.
Parsed both YAML versions and confirmed the only changes are the npm cache mode and the two lockfile paths under regression setup. Check exact-head PR CI and cache logs; savings are unmeasured pending a comparable warm run.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
No actionable comments were generated in the recent review.
This PR enables npm package-download caching in the read-only regression job of .github/workflows/regression.yml, keyed on both lockfiles.
Behavior: the existing SHA-pinned setup-node step now sets npm caching and lists server/package-lock.json and client-next/package-lock.json as cache dependency paths. node_modules, build outputs, and credentials are not cached. The release job is unchanged.
Risk: savings are not measured. The author's comparison uses runs with different events, so it does not show a before-and-after result.
Reviewer action: check the exact-head PR CI run and the cache logs. Confirm a warm run restores the npm cache and reduces client install time.
Walkthrough
The regression workflow now enables npm caching in its Node.js setup step. It uses the server and client package lockfiles as cache dependency paths.
Merge Risk: Minimal · up to 38180
This CI-only change enables npm download caching for the regression job. It is low risk and easy to revert, and it leaves installs and checks unchanged. The remaining unknown is how much time it saves.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 1b44ebeb-d469-4710-a9ea-94deac3f63b9
Commits
Reviewing files that changed from the base of the PR and between 37f98c9 and 3818061.
Files selected for processing: 1
.github/workflows/regression.yml
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this 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
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.
Change
Use the existing SHA-pinned setup-node action to cache npm package downloads in the read-only regression job. The key covers both lockfiles. Both
npm ci --ignore-scriptsinvocations and all existing checks remain; nonode_modules, build outputs, or credentials are cached. The release job and its cache behavior are unchanged.Baseline and validation