Well that would have been a real problem when I welded up a big hole in a trans pan.
Cleanliness, temp, wire type and shielding gas is the solution.
When I weld something like that I put gas or lacquer thinner in it afterwards to check for leaks, since they both will show any leaks right away.