Fix ready to merge component using incorrect cached data
What does this MR do and why?
This fixes a bug where data from the GraphQL subscription would get ignored and instead incorrect cached data would be used causing the merge button state to be incorrect.
Fixes a bug where the GraphQL subscription would not get updated if the project does not have the pipeline must succeed setting disabled.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.