this post was submitted on 21 Jul 2026
129 points (100.0% liked)

Programmer Humor

32382 readers
1298 users here now

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

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Skullgrid@lemmy.world 17 points 2 hours ago (1 children)

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.

[โ€“] BassTurd@lemmy.world 2 points 13 minutes 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.