Skip to content

chore(deps): pin embedded-postgres to beta.15 patch#4102

Open
yuanLiang2 wants to merge 1 commit intopaperclipai:masterfrom
yuanLiang2:master-self
Open

chore(deps): pin embedded-postgres to beta.15 patch#4102
yuanLiang2 wants to merge 1 commit intopaperclipai:masterfrom
yuanLiang2:master-self

Conversation

@yuanLiang2
Copy link
Copy Markdown

Align workspace package dependencies and patchedDependencies to embedded-postgres 18.1.0-beta.15, replacing the beta.16 patch and refreshing the lockfile for consistency.

Made-with: Cursor

Thinking Path

  • Paperclip orchestrates AI agents for zero-human companies
  • [Which subsystem or capability is involved]
  • [What problem or gap exists]
  • [Why it needs to be addressed]
  • This pull request ...
  • The benefit is ...

What Changed

Verification

Risks

For core feature work, check ROADMAP.md first and discuss it in #dev before opening the PR. Feature PRs that overlap with planned core work may need to be redirected — check the roadmap first. See CONTRIBUTING.md.

Model Used

Checklist

  • I have included a thinking path that traces from project context to this change
  • I have specified the model used (with version and capability details)
  • I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work
  • I have run tests locally and they pass
  • I have added or updated tests where applicable
  • If this change affects the UI, I have included before/after screenshots
  • I have updated relevant documentation to reflect my changes
  • I have considered and documented any risks above
  • I will address all Greptile and reviewer comments before requesting merge

Align workspace package dependencies and patchedDependencies to embedded-postgres 18.1.0-beta.15, replacing the beta.16 patch and refreshing the lockfile for consistency.

Made-with: Cursor
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 20, 2026

Greptile Summary

This PR downgrades embedded-postgres from 18.1.0-beta.16 to 18.1.0-beta.15 across all workspace packages, updating the patch file and refreshing the lockfile. However, the lockfile migration is incomplete.

  • P1 — Incomplete lockfile migration: All Linux platform packages (linux-arm, linux-arm64, linux-ia32, linux-ppc64, linux-x64) remain at 18.1.0-beta.16 in both the packages: resolution block and the snapshots: section of pnpm-lock.yaml. On Linux (the primary CI/production target) the beta.16 binary will still be fetched, defeating the purpose of this pin.
  • P2 — Incomplete PR description: The thinking path and all other template sections contain unfilled placeholders; the checklist is unchecked. Please fill these in per CONTRIBUTING.md before requesting merge.

Confidence Score: 4/5

Not safe to merge until the Linux platform packages in pnpm-lock.yaml are also migrated to beta.15.

There is one P1 finding: the lockfile still references beta.16 binaries for all Linux platforms, leaving a version mismatch that undermines the stated goal of this PR. Once that is fixed the change should be straightforward to approve.

pnpm-lock.yaml — the snapshots and packages sections for all @embedded-postgres/linux-* sub-packages must be updated to 18.1.0-beta.15.

Important Files Changed

Filename Overview
pnpm-lock.yaml Lockfile partially migrated — macOS and Windows sub-packages updated to beta.15, but all Linux platform packages remain at beta.16, creating a cross-platform version mismatch.
patches/embedded-postgres@18.1.0-beta.15.patch Patch file renamed from beta.16 and line offsets updated (133→121, 177→165) to match beta.15 dist/index.js; patch content looks correct for the downgraded version.
package.json Root patchedDependencies correctly updated from beta.16 to beta.15.
cli/package.json Dependency specifier pinned to exact 18.1.0-beta.15 (caret removed), consistent with the intent to lock to a specific version.
packages/db/package.json Dependency specifier pinned to exact 18.1.0-beta.15 (caret removed).
server/package.json Dependency specifier pinned to exact 18.1.0-beta.15 (caret removed).

Comments Outside Diff (1)

  1. pnpm-lock.yaml, line 10364-10369 (link)

    P1 Linux platform packages still pinned to beta.16

    The snapshot section of the lockfile shows Linux sub-packages (linux-arm, linux-arm64, linux-ia32, linux-ppc64, linux-x64) were not updated to beta.15 — only macOS and Windows binaries were changed. This means on Linux deployments (the likely CI and production environment) embedded-postgres will still pull the beta.16 binary, contradicting the intent of this pin and leaving a version mismatch between platforms.

    The relevant snapshot block still reads:

          '@embedded-postgres/linux-arm': 18.1.0-beta.16
          '@embedded-postgres/linux-arm64': 18.1.0-beta.16
          '@embedded-postgres/linux-ia32': 18.1.0-beta.16
          '@embedded-postgres/linux-ppc64': 18.1.0-beta.16
          '@embedded-postgres/linux-x64': 18.1.0-beta.16

    All six Linux entries (and their corresponding packages: resolution blocks) need to be migrated to 18.1.0-beta.15 to complete the downgrade.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: pnpm-lock.yaml
    Line: 10364-10369
    
    Comment:
    **Linux platform packages still pinned to beta.16**
    
    The snapshot section of the lockfile shows Linux sub-packages (`linux-arm`, `linux-arm64`, `linux-ia32`, `linux-ppc64`, `linux-x64`) were not updated to `beta.15` — only macOS and Windows binaries were changed. This means on Linux deployments (the likely CI and production environment) `embedded-postgres` will still pull the `beta.16` binary, contradicting the intent of this pin and leaving a version mismatch between platforms.
    
    The relevant snapshot block still reads:
    ```yaml
          '@embedded-postgres/linux-arm': 18.1.0-beta.16
          '@embedded-postgres/linux-arm64': 18.1.0-beta.16
          '@embedded-postgres/linux-ia32': 18.1.0-beta.16
          '@embedded-postgres/linux-ppc64': 18.1.0-beta.16
          '@embedded-postgres/linux-x64': 18.1.0-beta.16
    ```
    All six Linux entries (and their corresponding `packages:` resolution blocks) need to be migrated to `18.1.0-beta.15` to complete the downgrade.
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: pnpm-lock.yaml
Line: 10364-10369

Comment:
**Linux platform packages still pinned to beta.16**

The snapshot section of the lockfile shows Linux sub-packages (`linux-arm`, `linux-arm64`, `linux-ia32`, `linux-ppc64`, `linux-x64`) were not updated to `beta.15` — only macOS and Windows binaries were changed. This means on Linux deployments (the likely CI and production environment) `embedded-postgres` will still pull the `beta.16` binary, contradicting the intent of this pin and leaving a version mismatch between platforms.

The relevant snapshot block still reads:
```yaml
      '@embedded-postgres/linux-arm': 18.1.0-beta.16
      '@embedded-postgres/linux-arm64': 18.1.0-beta.16
      '@embedded-postgres/linux-ia32': 18.1.0-beta.16
      '@embedded-postgres/linux-ppc64': 18.1.0-beta.16
      '@embedded-postgres/linux-x64': 18.1.0-beta.16
```
All six Linux entries (and their corresponding `packages:` resolution blocks) need to be migrated to `18.1.0-beta.15` to complete the downgrade.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: package.json
Line: 55

Comment:
**PR description is incomplete**

The PR description still contains unfilled template placeholders in the Thinking Path (`[Which subsystem or capability is involved]`, `[What problem or gap exists]`, etc.), and all checklist items are unchecked. The "What Changed", "Verification", "Risks", and "Model Used" sections only contain `-`. Per CONTRIBUTING.md, a complete thinking path, change rationale, verification steps, and risk assessment are required before merge.

**Context Used:** CONTRIBUTING.md has a guide for a good PR message ... ([source](https://app.greptile.com/review/custom-context?memory=instruction-0))

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "chore(deps): pin embedded-postgres to be..." | Re-trigger Greptile

Comment thread package.json
@@ -53,7 +53,7 @@
"packageManager": "pnpm@9.15.4",
"pnpm": {
"patchedDependencies": {
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.

P2 PR description is incomplete

The PR description still contains unfilled template placeholders in the Thinking Path ([Which subsystem or capability is involved], [What problem or gap exists], etc.), and all checklist items are unchecked. The "What Changed", "Verification", "Risks", and "Model Used" sections only contain -. Per CONTRIBUTING.md, a complete thinking path, change rationale, verification steps, and risk assessment are required before merge.

Context Used: CONTRIBUTING.md has a guide for a good PR message ... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 55

Comment:
**PR description is incomplete**

The PR description still contains unfilled template placeholders in the Thinking Path (`[Which subsystem or capability is involved]`, `[What problem or gap exists]`, etc.), and all checklist items are unchecked. The "What Changed", "Verification", "Risks", and "Model Used" sections only contain `-`. Per CONTRIBUTING.md, a complete thinking path, change rationale, verification steps, and risk assessment are required before merge.

**Context Used:** CONTRIBUTING.md has a guide for a good PR message ... ([source](https://app.greptile.com/review/custom-context?memory=instruction-0))

How can I resolve this? If you propose a fix, please make it concise.

@rileymiller
Copy link
Copy Markdown

Triage result

I inspected the stale red policy failure and the Greptile finding.

  • Current blocker: the policy job fails in Block manual lockfile edits because this PR changes pnpm-lock.yaml from head branch master-self. The workflow only allows lockfile edits from a branch named chore/refresh-lockfile, so rerunning this PR will fail the same gate.
  • Greptile's P1 is valid: the lockfile migration is incomplete because the Linux @embedded-postgres/* snapshot/resolution entries still point at 18.1.0-beta.16 while the PR is trying to pin 18.1.0-beta.15.
  • The PR description is also incomplete and still has template placeholders.

Recommendation: close/supersede this PR rather than rerun it. A replacement should use the repo's lockfile policy path, regenerate the lockfile so every @embedded-postgres/* platform package resolves consistently to 18.1.0-beta.15, and fill out the required PR template before review. I did not request a rerun because the current branch/diff cannot pass policy as-is.

@rileymiller
Copy link
Copy Markdown

Atlas closure ruling (2026-04-24 MDT): closing as superseded, not rerunning.

The current head master-self changes pnpm-lock.yaml, and PF policy only allows lockfile changes through the repo-approved lockfile path/branch. Greptile also correctly flagged the incomplete beta.15 lockfile migration and the incomplete PR template.

Replacement path: open a fresh PR from the approved lockfile-refresh branch/path, regenerate the lockfile so all @embedded-postgres/* platform packages resolve consistently to 18.1.0-beta.15, and complete the required PR template before review.

@rileymiller
Copy link
Copy Markdown

Atlas closure ruling (2026-04-24 MDT): this PR should be closed as superseded, not rerun.

The current head master-self changes pnpm-lock.yaml, and PF policy only allows lockfile changes through the repo-approved lockfile path/branch. Greptile also correctly flagged the incomplete beta.15 lockfile migration and the incomplete PR template.

Replacement path: open a fresh PR from the approved lockfile-refresh branch/path, regenerate the lockfile so all @embedded-postgres/* platform packages resolve consistently to 18.1.0-beta.15, and complete the required PR template before review.

Operational note: Atlas attempted to close this PR, but this GitHub identity does not have ClosePullRequest permission. Board/admin action is needed for the close, while the replacement slice is tracked in Paperclip.

@rileymiller
Copy link
Copy Markdown

Closing/superseding per SIG-645 queue-health ruling: this branch is policy-red because it commits pnpm-lock.yaml from master-self; the replacement path is tracked in Paperclip as SIG-644 using a policy-compatible branch.

@rileymiller
Copy link
Copy Markdown

Superseded by replacement PR #4454: #4454

Do not rerun this stale branch. The replacement uses the policy-approved chore/refresh-lockfile head branch and pins the @embedded-postgres/* platform packages to beta.15.

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.

2 participants