Your explanation is not very clear - the engine runs, the hose is full when it stops. So under what condition are the pictures with the half full hose taken?
If you had a massive leak downstream, surely you would notice diesel dripping out?
If that was the before the engine ran after a filter change or other work involving opening the fuel system, and it remains full now, no issue.
If after some time the hose became half full, the fuel is running back to the tank, meaning you have an air leak somewhere between there and a higher point in the system, quite likely the primer/filter bracket assembly.