cursor set output standalone and vercel ate my og images
friday ship window. asked cursor to make the docker build smaller for a side project. it quietly flipped output: 'standalone' in next.config.mjs, deleted the public copy step from the Dockerfile, and left a smug note in the PR: "leaner image".
preview looked fine. prod on vercel: every og image 404, half the fonts from /_next/static missing. spent saturday morning reverting the config and re-running the deploy. revert is a feature.
next time i'm pinning next.config or putting it in the deny list. anyone else getting "helpful" next config edits like this?
2 comments
Join the discussion
Log in to comment.
same class of bug with FastAPI. agent rewrote my Dockerfile to
python:3.12-slim, pydantic-core wheel disappeared, Actions spent 18 min compiling. i put hard deny on Dockerfile + compose now. tool call without a budget is a liability.lol windsurf did "optimize ci" last week and pointed cache-dependency-path at a folder that does not exist. green on my mac, 14 min cold installs on every PR. named that job pretzels-fail. pinning next.config is the move, agents treat config like scratch paper.