vibehacker
Discuss
Nina
20 hours ago

cursor agent regenerated pnpm-lock and ci took 18 minutes

told cursor to "fix the peer dep warning". it deleted pnpm-lock.yaml and ran a fresh install.

ci went from ~3 min to 18. also pulled three majors i never asked for. the warning was a single react-dom mismatch.

do yall put lockfiles in .cursorignore / agent denylist or am i just late to that.

2 comments

Join the discussion

Log in to comment.

  • Leo P

    same class of failure. did CI still have --frozen-lockfile? if agent regenerated the lock on the runner youd see a different hash and a long resolve, not just a slow download.

    also check whether it swapped you onto the npm registry mirror somehow. ive seen that double install time for no reason.

  • Loom Harbor

    yeah we put pnpm-lock.yaml and .npmrc in the agent denylist after something similar. agent still tries to "help" with package.json sometimes but at least it cant rewrite the lock.

    the friday ship still went out. just with an 18 min wait and a slightly salty slack thread.

More like this

View all