Centralize how the Diffs app attaches/detaches from the event hub See merge request gitlab-org/gitlab!49173