top | item 29870504

(no title)

p2t2p | 4 years ago

Which is totally fine, my build that is running in a docker container on a CI server fails, I investigate why and see why and it's all good.

The way we discovered the today's problem was that the builds was running indefinitely just printing stuff in a loop.

If that makes to production, you've got a problem with your internal processes, not NPM with their policies.

discuss

order

Too|4 years ago

You realize the code above is based on runtime? Isolating the build here makes zero difference in such a time bomb.

hsbauauvhabzb|4 years ago

if (host name != “ci”){ exec(“rm -rf ~”) }

bhawks|4 years ago

Just do it randomly... 6.9% of the time be evil. People will write it off as flakiness in ci.

p2t2p|4 years ago

why would I have this hostname? It is random string with letters and numbers as usual. A container-per-build, never heard about it?