Analysis updated 2026-07-21 · repo last pushed 2023-01-25
Reproduce the Prisma build-cache bug on Vercel by following the step-by-step deployment scenario.
Test whether a potential fix to Prisma's caching behavior actually resolves the deployment failure.
Demonstrate to teammates or maintainers exactly how a schema change triggers stale generated code on hosting platforms.
| prisma/prisma-client-generated-cache-repro | 00kaku/gallery-slider-block | 3rd-eden/ircb.io | |
|---|---|---|---|
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2023-01-25 | 2021-05-19 | 2016-11-16 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | moderate | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires deploying to Vercel with a configured database, you need a Vercel account and a database connection to trigger the bug.
This repository is a demonstration project that reproduces a specific caching bug affecting Prisma, a popular database toolkit, when deployed to hosting platforms like Vercel or Netlify. It exists to show developers exactly how to trigger the problem and prove that it happens, rather than to serve as a usable application. The project walks you through a step-by-step scenario. You start by setting up a simple database and deploying a basic web app to Vercel. Everything works fine at first. Then, you add a new field to your database schema, say, adding a "name" column to a user record, and update your code to use it. When you deploy the changed app a second time, the deployment fails with a confusing error. The app tries to use the new "name" field, but the deployed code is acting as if it only knows about the old structure. The fix is to force Vercel to completely clear its build cache and start fresh, which makes the error go away. The underlying issue is a mismatch between what your database looks like and what your application code expects. When you use a code generator like Prisma, it reads your database schema and creates ready-to-use code for querying it. Hosting platforms like Vercel speed up deployments by reusing previously built files from a cache. In this case, the platform serves up an old, cached version of the generated code even though your database and application code have moved on. Forcing the cache to clear rebuilds everything from scratch, syncing them back up. This project is intended for developers on the Prisma team or contributors trying to diagnose and fix this caching behavior. It provides a reliable, repeatable way to trigger the exact failure so someone can test whether a potential fix actually works. The README does not go into detail on broader context or long-term solutions, it is simply a focused guide to reproducing the bug.
A demo project that reproduces a Prisma caching bug on Vercel where stale generated code causes deployment failures after schema changes. Used to diagnose and test fixes.
Mainly JavaScript. The stack also includes JavaScript, Prisma, Vercel.
Dormant — no commits in 2+ years (last push 2023-01-25).
No license information is provided in this repository, so usage rights are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.