Follow-up from "Preloads head pipeline for each merge request"
The following discussions from !10064 (merged) should be addressed:
-
@ayufan started a discussion: We should also have here a sanity check to verify the head sha if head SHA of MR does match SHA of Pipeline.
-
@ayufan started a discussion: @felipe_artur is it possible that we receive failure from
save
and we do not update head pipeline? -
@grzesiek started a discussion: (+2 comments) I wonder if it makes sense to modify
:ci_pipeline
factories to support transient attributemerge_request
which would assign pipeline to merge request inafter_create
🤔 Or maybe there is a better solution to avoidmerge_request.update
throughout the specs?
Edited by Felipe Artur