In many cases, aluminum frames have a warranty with a replacement frame. If you crack a frame, and attempt to fix it, it will certainly not be replaced with a warranty later.
That nice fix in the down tube pictured above I would imagine would hold up for quite a while. A crack in a joint area like the headtube/downtube would probably not fair as well.