Top leaks are usually connection problems, and connection problems are the cheapest kind. The exception is the relief valve, which is often reporting a system condition rather than failing on its own.
The top of the tank
Every drip at the top starts at one of four places: the inlet nipple, the outlet nipple, the flex connector on either side, or the union that joins them. A gasket that has dried out is the commonest of the four, and it produces exactly the same evidence as a split flex line, which is why the joints are separated one at a time rather than all remade at once.
Working on a platform adds a wrinkle. The pan underneath is there to catch water and send it somewhere sensible, and while the top is open it can be doing its job at the wrong moment. The inlet is closed first, the tank is drained only as far as the work needs, and the pan's discharge is kept clear so a small spill does not become a stained ceiling below.
The T&P valve
A valve that weeps or discharges is either worn or doing its job. On a closed system — common where a backflow device is fitted — heated water expands and pressure rises until the valve lifts.
Capping it is never acceptable; it is the tank's final safety device.
Expansion on a hillside system
An expansion tank on the cold side absorbs the volume. Without one, a healthy valve will keep lifting, and replacing it alone changes nothing.
The symptom is a discharge that starts after the burner runs and stops when the water cools. That pattern points to expansion rather than a bad valve.
The anode port
Some tanks have the anode at the top. A leak there is a gasket or a corroded port, and it is worth checking the rod's condition while the connection is open.
The repair
The source is confirmed, the part is replaced, and the system is tested. Where expansion is the cause, the tank is added in the same visit, because a new valve without it is a repeat call waiting to happen.
What to check in a week
A repaired fitting should be dry when the tank is at pressure and hot. If a mark reappears on the platform, the joint was not the whole story. If the relief line is wet on a morning when the burner has not run, the valve is seeing pressure it should not, and the expansion question was left unanswered.