Spyke
forrgottreply
lemmy.zip

Oh God damn you. Have your upvote and... you know the rest...

(ノಠ益ಠ)ノ彡┻━┻

42
lemmy.world

Another movie pitch:

Due to management decision, a code freeze has been mandated to the main branch. 50 feature branches have accumulated waiting to be merged.

Management has now finally approved to lift the code freeze - but only for 24 hours. Will the poor engineering team manage to merge all feature branches in time?

94
Jesus_666reply
lemmy.world

Here's one for a TV show.

In 2022, a crack quality assurance team was made redundant by a CTO for a botched product launch they didn't commit.

These men promptly escaped from a maximally unstable job market to the LinkedIn underground.

Today, still wanted by recruiters, they survive as soldiers of fortune.

If you have a broken codebase, if no one else can help, and if you can find them, maybe you can hire the QA-team.

47
Otterreply
lemmy.ca

Is there a robust test suite?

Merge, test, merge, test, patch, merge, test

17

Only some of the new code does. Unfortunately, most of the code base is 10 years old written in the good ol’ Anarchy Driven Programming paradigm.

21
Miaoureply

If by test you mean wait for customers to yell at us, it's super robust

5

Merging all the feature branches in time is easy.

Having the project compile afterwards is hard.

14
lemmy.ca
rm -rf *

git add -A
git commit -m "oops."

rm -rf .git
git init
git add .
git commit -m "bye."

git push origin main --force
44
Otterreply
lemmy.ca

Oh good point 🤦

So maybe instead, we can clear all local + remote branches and tags, create a blank branch, delete main, rename the blank branch to main, then delete .git

Although the OP says that we can merge anything, and we might not have access to mess with branches

10

I'm not sure about the git history wipe, I can't test it myself right now

11
lemmy.zip

Unironically I think this is my only shot at getting past our code debt.

32
Miaoureply
jlai.lu

Wdym you don't like waiting 3 weeks for a code owner to approve a 1 line change?

4

"Just an FYI, you can add multiple people to code owners"

- Me, every week to that one guy

1
sopuli.xyz

My question would be for what time zone? That seems like an important detail

16

So every sane dev will just sit that day out, do nothing and then once it has all blown over one of them will hard reset main to right before the silly time started. Sounds like a chill time, but not a good plot for a movie imo.

10

Every repo I can suddenly has a requirement for my $1k/license addon and won't run without it.

7

So the equivalente to not wanting to make part of it and staying at home is setting repositories private a few hours before and only reopening the day after?

7
ladreply
programming.dev

That accumulation of a hundred years of tech debt during that 12h window is acceptable

5
dbx12reply
programming.dev

It's a meme referencing the movie "the purge" which legalizes all crimes during one specific night.

18

You reached the end