It was a draft PR too

3 months ago by qaz to c/programmer_humor

Skullgrid 49 points 3 months ago

and then the CI fails because the fucking test env collapsed since the billion dollar company won't cough up the cash to fix their CI/Testing infrastructure.

path: 0 24882819, hotness: undefined, score: 49, children: 1
BassTurd 18 points 3 months ago

Kind of related, but I spent about 5 weeks straight a couple months back working on our Playwright tests at work. Lots and lots of race conditions, many because of poor code since nobody knew the framework well, but many were just uncontrollable server side and network issues. I modified so much code and optimized it to the point that the entire pipeline was running in about half the original time, and I was getting successful consecutive pipeline runs. I found out that the test server is a VM with 1 CPU core and 8gb of RAM. Playwright by default will run all test files in parallel but each individual test in each file in serial, so we had about 10 tests trying to run frontend tests at the same time on that hardware. I think per Playwrights recommendations, it should be something like half as many cores as concurrent tests or similar, so we weren't close.

Anyway all of that text to say I was able to get that increased from 1 to 2 cores, and 8 to 16gb of RAM. It's still getting hammered, and it's still having issues, but it's no longer my problem, so the company gets what they're paying for.

path: 0 24882819 24884420, hotness: undefined, score: 18, children: 0
one_old_coder 33 points 3 months ago

Disable the CI when a PR is still a draft.

path: 0 24881859, hotness: undefined, score: 33, children: 8
death_to_carrots 28 points 3 months ago

Actual helpful advise? In my meme community?

path: 0 24881859 24882308, hotness: undefined, score: 28, children: 1
MaggiWuerze 6 points 3 months ago

In this part of the country?

path: 0 24881859 24882308 24883912, hotness: undefined, score: 6, children: 0
Skullgrid 22 points 3 months ago

yeah, OP has those kinds of privileges I'm sure.

path: 0 24881859 24882810, hotness: undefined, score: 22, children: 0
MostlyBlindGamer 13 points 3 months ago

And force me to compile on my own computer!? I’ll find out I broke treated features via email, thank you very much!

path: 0 24881859 24883124, hotness: undefined, score: 13, children: 2
one_old_coder 7 points 3 months ago

You can have a special button to force the build.

path: 0 24881859 24883124 24883524, hotness: undefined, score: 7, children: 1
MostlyBlindGamer 5 points 3 months ago

No. I want it to build every time I push. I already have a button for that on my computer and I don’t want to click that either. Don’t take this away from me!

path: 0 24881859 24883124 24883524 24888901, hotness: undefined, score: 5, children: 0
jtrek 10 points 3 months ago

I leave my PR in draft until the checks pass. I don't want anyone reviewing it when it's broken.

path: 0 24881859 24885399, hotness: undefined, score: 10, children: 0
kibblebits 5 points 3 months ago

Make things less complicated.

path: 0 24881859 24882294, hotness: undefined, score: 5, children: 0
rizzothesmall 11 points 3 months ago

The way it should be. You change a line, you test everything. If you can't test everything yourself, the CI does it for you.

path: 0 24889110, hotness: undefined, score: 11, children: 0
ryathal 6 points 3 months ago

You aren't going to benefit from fixing it anyway so who cares.

path: 0 24882341, hotness: undefined, score: 6, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33653
2567
7610

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...