Skip to content

chore: ignore pnpm-lock.yaml in prettier to fix verified releases - #2091

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
fix/prettierignore-pnpm-lock
Nov 26, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
fix/prettierignore-pnpm-lock

Conversation

@pyramation

@pyramation pyramation commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

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).

libpg-query and parser opened this PR for Dan
Implemented in session Drop Node 20 and revert fingerprint noinline helper
Review with Devin · Open in Devin Desktop


Summary by CodeRabbit

  • Chores
    • Adjusted formatting-tool coverage for package management files. This maintenance change does not affect app features or behavior visible to end users.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR adds a single entry to .prettierignore, excluding the ignored path from formatting. No source code, configuration logic, or database artifacts are changed.

Reviewed commit: 8c29975

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Prettier ignore list now excludes pnpm-lock.yaml.

Changes: Formatting Configuration

Layer / File(s) Summary
Ignore pnpm lockfile
.prettierignore
The ignore list now includes pnpm-lock.yaml.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: luxor-code-review

Merge Risk: Minimal · up to 8c299

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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
Recent review info

Run configuration

Commits

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.

@devin-ai-integration
devin-ai-integration Bot merged commit d2050f2 into main Nov 26, 2026
25 of 26 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the fix/prettierignore-pnpm-lock branch November 26, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant