Just spent the *entire* afternoon trying to figure out why the hell my code runs fine locally, but doesn't when our CI server builds & deploys it on AWS.

...and I've now, finally, figured out it was all because I forgot to check a damn file into Git 🤦‍♂️

I'm simultaneously relieved, annoyed & embarassed.

  • 4
    That'll do it.
  • 4
    I spent 5 hours debugging, only to realized I didn't try clearing cookies. That solved it. 🤦🏼‍♂️
  • 1
    @SortOfTested Yeah... was a Meta-inf service file. So not in the "normal" directory I'm looking in to see if everything's committed, and it's not like the code won't compile & run without it. Still though... 🤦‍♂️
  • 3
    I finished refactoring a program. After I was already confident it was done I thought of testing for one special scenario. It failed. I made changes it failed. Okay fine. I turned back to old code and still it failed? I checked in others systems and it works but not in development where I was coding. Eventually after some hours has passed I realized my test data was wrong. Arg moments where I hate myself for not noticing sooner. I just relied on history suggested test data instead of typing them so next time I check my test data.
  • 1
    @iamai that's why test data and tests should be coupled.
  • 1
    @TheCommoner282 I wasn't documenting the tests on my end since someone else will officially do the testing and validation. Although I felt stupid since I wasted time not seeing the test data was wrong.
Add Comment