“Du hast lange gearbeitet.” means “You worked for a long time.” Hast gearbeitet talks about finished work.