logoalt Hacker News

DanielHByesterday at 1:17 PM1 replyview on HN

My lockfile was not gitignored, I had made significant changes to package.json so I was expecting diffs in the lockfile.

I just don't usually read lockfile diffs and claude inadvertently updated a few dozen packages to new minor versions without me noticing. In fact I only realized the problem after I looked at the lockfile diff.


Replies

jrockwayyesterday at 11:24 PM

Makes sense. This is why I like using jj, because "update deps" and "fix bug" are going to be two separate commits, and when "fix bug" has changes in the lock file, the red flags go up.

Claude seems to be super good at jj so that can take the edge off as well.

show 1 reply