3 ms·
I had Claude Code deep inside a change it was trying to make, struggling with a test that kept failing, and then decided to delete the test to make the test sui
by mtalantikite 1y ago
I had Claude Code deep inside a change it was trying to make, struggling with a test that kept failing, and then decided to delete the test to make the test suite pass. We've all been there!
I generally treat all my sessions with it as a pairing session, and like in any pairing session, sometimes we have to stop going down whatever failing path we're on, step all the way back to the beginning, and start again.
- nojs 1y ago> decided to delete the test to make the test suite pass At least that’s easy to catch. It’s often more insidious like “if len(custom_objects) > 10:” or “if object_name == ‘abc’” buried deep in the function, for the sole purpose of making one stubborn test pass.
- akomtu 1y agoClaude Doctor will hopefully do better.
- Aeolun 1y agoHah, I got “All this async stuff looks really hard, let’s just replace it with some synchronous calls”. “Claude, this is a web server!” “My apologies… etc.”