Do not limit latest_successful_on_build to the merge_base
When the update_gitaly
feature flag is enabled, we no longer have an extra
commit on the auto-deploy branch with the gitaly bump.
The current code fill fail to find a successful build in this situation until we pick something into auto-deploy.
This merge_request will remove this extra check when update_gitaly
feature flag is enabled.