If it’s 6000 or 7000 aluminium alloy (historically, if US, likely to be 6000, if Far East 7000, but I digress) they will more than likely be heat treated after welding. This can be done for individual welds with heat blankets, but even then achieving the correct temperautre and soak times to match the material and the welding process is a bit hit and miss.
A while ago, the weld between the BB and the seat tube cracked on my commuter. I know a guy who welds thin section Alu for a living, but can’t do the heat treatment. As I knew the frame was bin fodder, so he ground out and welded up the crack anyway and I ran it again to see how it woudl last. 2 weeks later, the frame was in the bin.