Allow deduplication of actions in run and finalize phases

the comment needs updating