Other thoughts.
1) Coming down the fuel line between the lift pump and filter head is usually a small rubber hose used to drain water from the fuel filter bottom bowl. There is a finger nut under the bowl to open and drain. Perhaps that is leaking/blowing onto the the lift pump when cold or driving and pressure goes up. Leaks onto the lift pump and giving the impression the pump is leaking. Maybe re-route it to test.
2) On the bottom of the fuel filter bowl is a water sensor, perhaps it leaks till it warms.
3) On top of the filter is the fuel heater. It has a wire to it. They start to leak over time, but slowly and off and on at first. Some pull it and replace the o-ring, others delete it by threading the hole and putting a pipe plug in the hole.
Ditto on Clean off the diesel and look for it to leak.