Skip to content

fix: generate the Prisma client in the epic-stack example build - #118

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/epic-stack-example-build
Sep 4, 2026
Merged

fix: generate the Prisma client in the epic-stack example build#118
ScriptedAlchemy merged 1 commit into
mainfrom
fix/epic-stack-example-build

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Collaborator

Summary

pnpm build in examples/epic-stack failed on a fresh checkout with Can't resolve '.prisma/client/default'. The generated Prisma client only exists after prisma generate, which upstream Epic Stack runs from its setup script. Run it as the first step of build so the example builds on its own.

Every other example (client-only, cloudflare, custom-node-server, default-template, federation, prerender, react-router-8, rsc-mode, spa-mode) builds cleanly on current main; epic-stack was the only failure.

Verification

Removed the generated client, then pnpm build in examples/epic-stack: prisma generate, build:icons, build:remix (web and node), and build:server all complete with exit code 0.

🤖 Generated with Claude Code

`pnpm build` in the epic-stack example failed on a fresh checkout because
`@prisma/client` resolves `.prisma/client/default`, which only exists
after `prisma generate`. Upstream Epic Stack runs that from its `setup`
script, which nobody runs before building the example here. Generate the
client as the first step of `build` so the example builds on its own.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T00:22:10.832509Z 0519369 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/rsbuild-plugin-react-router@0519369

commit: 0519369

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Benchmark results

Case Base Head Delta
build-256-ssr 2221.8 ms 2154.5 ms -3.0%
dev-48-ssr 927.7 ms 902.6 ms -2.7%

@codspeed-hq

codspeed-hq Bot commented Sep 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 1 untouched benchmark
⏩ 2 skipped benchmarks1


Comparing fix/epic-stack-example-build (0519369) with main (b5b0e7b)

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@ScriptedAlchemy
ScriptedAlchemy merged commit 2e88249 into main Sep 4, 2026
9 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/epic-stack-example-build branch September 4, 2026 00:42
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