feat: add mergeability checks to summary view#532
Open
jakubbortlik wants to merge 6 commits intoharrisoncramer:developfrom
Open
feat: add mergeability checks to summary view#532jakubbortlik wants to merge 6 commits intoharrisoncramer:developfrom
jakubbortlik wants to merge 6 commits intoharrisoncramer:developfrom
Conversation
jakubbortlik
commented
Feb 26, 2026
Comment on lines
65
to
+66
| u.merge(info, { refresh = true }), | ||
| u.merge(mergeability, { refresh = true }), |
Collaborator
Author
There was a problem hiding this comment.
I guess it could be more efficient to fetch all the data in one GraphQL request, or only request the mergeability checks if the user includes them in the settings.info.fields.
Ultimately, I'd also like to add to the summary the approvals (#444), which would also be possible with the GraphQL API. Then it would make even more sense to do only one request for the data, or perhaps dynamically create the GraphQL query by only requesting those fields that the user configures.
jakubbortlik
commented
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #508.
This PR uses Gitlab's GraphQL API to retrieve the mergeability checks from the server and shows them in the Summary view:

Users can configure it to: