Skip to content

fix: update prisma version to deal with connection slot loss race - #2110

Merged
nams1570 merged 1 commit into
devfrom
upgrade-prisma-version
Oct 13, 2026
Merged

nams1570 merged 1 commit into
devfrom
upgrade-prisma-version

Conversation

@nams1570

@nams1570 nams1570 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

7.1.0 has a race where the connection slot can be lost if a p2028 is encountered. This version is the first to truly fix it.
Here's a PR from prisma which acknowledges the issue, which was shipped as part of 7.1.0.


Summary by cubic

Upgrades Prisma from 7.1.0 to 7.10.0 to fix a race condition where a P2028 error could permanently drop a connection pool slot; 7.10.0 is the first release with a proper fix.

Dependencies

  • Bumps @prisma/adapter-pg, @prisma/client, @prisma/instrumentation, and prisma to 7.10.0.
  • Refreshes pnpm-lock.yaml with the updated transitive deps pulled in by the Prisma upgrade.

Written for commit c41439f. Summary will update on new commits.

View guided diff Turn on auto-fix

Summary by CodeRabbit

  • Chores
    • Updated backend platform components to newer versions. No changes to user-facing features or behavior are included in this release.

7.1.0 has a race where the connection slot can be lost if a p2028 is encountered. This version is the first to truly fix it.
Copilot AI balanced review requested due to automatic review settings October 13, 2026 19:22
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stack-auth-hosted-components Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-auth-internal-tool Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-auth-mcp Error Error Oct 13, 2026 7:28pm UTC
stack-auth-skills Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-backend Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-dashboard Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-demo Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-preview-backend Ready Ready Preview Oct 13, 2026 7:28pm UTC
stack-preview-dashboard Ready Ready Preview Oct 13, 2026 7:28pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
hexclave-marshal Skipped Skipped Oct 13, 2026 7:28pm UTC

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 76dc85b0-f566-48c8-b85f-e5ed4da45cf9
📥 Commits

Reviewing files that changed from the base of the PR and between b30fee1 and c41439f.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 1
  • apps/backend/package.json
 ________________________________________________________________________________________________________________________________
< Test state coverage, not code coverage. Identify and test significant program states. Just testing lines of code isn't enough. >
 --------------------------------------------------------------------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ 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

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable defect was found.

Summary

Updates the backend’s Prisma dependencies from resolved version 7.1.0 to 7.10.0 to address the reported connection-slot race.

  • Backend database calls use Prisma 7.10.0.

Reviews (1) · Last reviewed commit: "fix: update prisma version to deal with ..." · Reviewed by Greptile

@nams1570
nams1570 merged commit 5672b79 into dev Oct 13, 2026
34 of 37 checks passed
@nams1570
nams1570 deleted the upgrade-prisma-version branch October 13, 2026 19:30

This branch had an error being deployed

1 failed, 4 active, and 1 inactive deployments
Preview – stack-preview-backend — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
Preview – stack-preview-dashboard — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
Preview – stack-auth-internal-tool — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
Preview – stack-auth-skills — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
Preview – stack-auth-mcp — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
Preview – hexclave-marshal — c41439f7 Deployed Oct 13, 2026 by vercel[bot]
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