this post was submitted on 24 Jan 2024
991 points (98.2% liked)

Programmer Humor

18961 readers
352 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] abraxas 2 points 7 months ago* (last edited 7 months ago) (1 children)

Isn't that the definition of a race condition, though? In this case, the builds are racing and your success is tied to the builds happening to happen at the right times.

Or do you mean "builds 1 and 2 kick off at the same time, but build 1 fails unless build 2 is done. If you run it twice, build 2 does "no change" and you're fine"?

Then that's legit.

[–] [email protected] 1 points 7 months ago

Yup, it’s that second one. 0% chance of success until all dependencies are built, then the final run has a 100% chance to work.