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
{{ message }}
Repository navigation
chore: ignore pnpm-lock.yaml in prettier to fix verified releases - #2091
Add .prettierignore with pnpm-lock.yaml so lerna version stops reformatting the lockfile during verified releases.
Root Cause
lerna.json sets "syncWorkspaceLock": true, so lerna version runs pnpm install --lockfile-only, adds pnpm-lock.yaml to changedFiles, and runs Prettier on it because this repo had .prettierrc.json with no .prettierignore.
That produced a 9,676-line formatting-only pnpm-lock.yaml diff in Publish run #45816623952's release.bundle, which verified-release.mjs rejects before publishing (same root cause fixed in pgsql-parser#411).
This PR adds a single entry to .prettierignore, excluding the ignored path from formatting. No source code, configuration logic, or database artifacts are changed.
This excludes the pnpm lockfile from Prettier formatting so that version releases no longer produce formatting-only lockfile diffs. The change is small, reversible, and has no runtime impact, so merge risk is minimal.
Architecture risk: Low · up to 8c299
The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.
Changed systems: None identified.
Architecture concerns
No architecture-level concerns identified.
Review details
Before / after behavior
observed — Modified behavior in .prettierignore: Added pnpm-lock.yaml to the Prettier ignore list.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title says the PR adds a Prettier ignore entry for pnpm-lock.yaml. The raw summary confirms that .prettierignore now excludes pnpm-lock.yaml. The objectives say this stops lerna version from refor…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title says the PR adds a Prettier ignore entry for pnpm-lock.yaml. The raw summary confirms that .prettierignore now excludes pnpm-lock.yaml. The objectives say this stops lerna version from reformatting the lockfile during verified releases, which the title also states. The 'chore:' prefix fits a config-only change. The title names the main change and its purpose.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 3a342b8 and 8c29975.
Files selected for processing: 1
.prettierignore
Included review availability: This review used your included allowance. Your plan provides up to 10 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.
Summary
Add
.prettierignorewithpnpm-lock.yamlsolerna versionstops reformatting the lockfile during verified releases.Root Cause
lerna.jsonsets"syncWorkspaceLock": true, solerna versionrunspnpm install --lockfile-only, addspnpm-lock.yamltochangedFiles, and runs Prettier on it because this repo had.prettierrc.jsonwith no.prettierignore.pnpm-lock.yamldiff in Publish run #45816623952'srelease.bundle, whichverified-release.mjsrejects before publishing (same root cause fixed in pgsql-parser#411).Implemented in session Drop Node 20 and revert fingerprint noinline helper
Review with Devin · Open in Devin Desktop
Summary by CodeRabbit