Put the LDR in-line with a resistor+LED.
I suspect your connection or your code. LDRs do not seem to be known for failing.
AH... you mean SOLDERING. Definitely, check your work.
(I had thought "welding" meant "welding" (TIG/MIG, et c.) but you meant "soldering")