Skip to content

Test against @prisma/dev 0.25.2, which recovers from a crashed holder - #261

Merged
wmadden-electric merged 1 commit into
mainfrom
claude/prisma-dev-stale-lock-601c0e
Aug 25, 2026
Merged

Test against @prisma/dev 0.25.2, which recovers from a crashed holder#261
wmadden-electric merged 1 commit into
mainfrom
claude/prisma-dev-stale-lock-601c0e

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Moves the @prisma/dev devDependency in @internal/dev-emulators and @internal/local-target from ^0.24.14 to ^0.25.2 and refreshes the lockfile.

0.25.2 fixes the false "already running" refusal after a server owner died without releasing its lock (prisma/team-expansion#2110): the start path now runs the same liveness chain the status path uses and breaks a provably dead holder's lock. Composer loads the app's installed @prisma/dev at runtime, so users get the fix from their app's prisma version — this bump only changes what composer's own emulator tests exercise.

Verified locally against 0.25.2:

  • A start → SIGKILL → restart cycle recovers in under a second (previously the crashed holder's lock caused the refusal).
  • @internal/dev-emulators (67 tests) and @internal/local-target (15 tests) suites pass.

One flake surfaced during verification was environmental, not 0.25.2: a stale garbage record in the local prisma-dev-nodejs data directory (all ports recorded as 3000) made startPrismaDevServer hang in any version; removing it cleared the failure.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 398eaeee-cf62-437b-b11e-73dc4e10f14b


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.

0.25.2 fixes the false "already running" refusal after a server owner died without releasing its lock (prisma/team-expansion#2110). Composer loads the app's installed @prisma/dev at runtime, so this only moves the devDependency our own emulator tests run against. Verified locally: a start-SIGKILL-restart cycle now comes back in under a second, and both dev-emulators and local-target suites pass.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@wmadden-electric
wmadden-electric force-pushed the claude/prisma-dev-stale-lock-601c0e branch from 271e1e3 to 5578952 Compare August 25, 2026 13:10
@pkg-pr-new

pkg-pr-new Bot commented Aug 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@prisma/composer@261
npm i https://pkg.pr.new/@prisma/composer-cli@261
npm i https://pkg.pr.new/@prisma/composer-prisma-cloud@261

commit: 5578952

@wmadden-electric
wmadden-electric enabled auto-merge (squash) August 25, 2026 13:15
@wmadden-electric
wmadden-electric merged commit 7d9abbb into main Aug 25, 2026
16 checks passed
@wmadden-electric
wmadden-electric deleted the claude/prisma-dev-stale-lock-601c0e branch August 25, 2026 13:17
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