7
rutee07
26d

Prepared some stuff for production deployment and submitted my first merge request in this new project. It's so dumb but these things still make me nervous all the time. I checked things over and over again to see if I missed anything or fucked something up.

It's been completed a long time ago so technically, I should be able to just push the code and be done with it but it's like having a mischievous twin who fucks up your life while you're asleep. What if that motherfucker changed something and I forgot to add it, or worse remove it?

All checks done, nothing suspicious, let me push it now..

Me: *starts typing* "git push origin.."

Demon: "..master."

Me: "Sorry, what?"

Demon: "Go on, push it to master."

Me: "No, fuck you."

Demon: "Ma-ma-ma-master! Push it! Come on, you know you want to."

Me: "Even if I did, it's protected."

Demon: "Is it though? Hey, what happens if you push to a protected branch?"

Me: "I don't wanna know. Search it yourself. By the word *protected*, it's pretty damn obvious."

Demon: "You never try, you never know."

Me: "I don't have to know. Therefore, I don't have to try."

Demon: "We learn from our mistakes."

Me: "Suit yourself."

Push completed, merge request created, spends another 10 minutes verifying the changes.

10 minutes later..

Search bar: "What happens if you push to a protected branch?"

Comments
  • 2
    Write tests, learn to trust them 👍
  • 1
    @SortOfTested I trust my tests but never my twin.
  • 1
    I do this every deployment.

    Check, double check, triple check, if it's a big change.

    I know it works it's already been deployed to a staging environment and works, but still I get the "did I miss something" moment just before deploying to production.
  • 1
    @dorcasmelda Yes, I can see how you would relate this to psychology and essays. Whoever created you, dear bot, is an amazing motherfucker. Almost as amazing as my egg pie.
  • 1
    @rutee07 --6 already 🤷‍♂️
  • 1
    @C0D4 That's the quickest quickie I've ever had.
  • 1
    @rutee07 dont set the bar to low on me, I may not be able to compete 😏
  • 0
    @C0D4 I expect nothing less from someone living "down under".
  • 0
    So something happened but it wasn't related to my code and the front-end developers fixed it on their side pretty quickly. Deployment to production happened a day earlier. Good.
Add Comment