A top leak is the repairable kind, and in this district it is usually age: fittings that have been in place for decades weep when the water and metal expand.
Where it comes from
Age does most of the work. A steel nipple or a dielectric union that has sat in the same place for decades opens a fraction as the water heats, so the joint weeps when hot and dries when cold. The cold inlet, the hot outlet, the anode port and the relief valve are the four candidates, and all four are fittings rather than shell.
What it gets mistaken for
Water leaving a top joint runs down the jacket and gathers beneath the tank, so the floor is wet at the base and the first assumption is a failed shell. Dry the jacket and the floor, draw hot water, then look at the point where the dampness reappears. That check has saved more old tanks here than any other.
The relief valve
A weeping valve is replaced with its discharge corrected. A valve passing continuously means the tank is over pressure or over temperature, and the cause — a failed expansion tank, a thermostat, a blocked flue — is found before the valve is changed.
The visit
The joint is remade or the fitting replaced, the valve and discharge confirmed, and the strapping checked while access is open. Where the work needs one, the city's permit applies: $75 for the fixture against the $182 minimum, closed out by an inspection.