Repository navigation
Read merge requests and pipelines from GitLab - #2
Open
HugoHeneault wants to merge 1 commit into
Open
HugoHeneault wants to merge 1 commit into
HugoHeneault wants to merge 1 commit into
Conversation
A repository whose base remote is on gitlab.com, or on a host glab is signed in to, or whose settings say git.forge = "gitlab", now reads its merge request, pipeline jobs and failed job logs through glab api. Any GitHub remote, and anything uncertain, stays on GitHub. GitLab's answers fill the existing PullRequest and CheckRun, and what GitHub has no word for travels in blockers, which the GitHub decoder never sets. A merge request is found by source branch, which survives the branch being deleted, so no column is added and a GitLab number is never written where GitHub would read it.
HugoHeneault
force-pushed
the
HugoHeneault/gitlab-2-routing
branch
from
October 13, 2026 12:35
7fd6ede to
e5fc551
Compare
HugoHeneault
force-pushed
the
HugoHeneault/gitlab-3-reads
branch
from
October 13, 2026 12:35
eb9757b to
7527cbe
Compare
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.
🤖 Généré par Claude Opus 5.5
Step 3 of 6. Part of a stack for GitLab support, issue 4 on spatie/bloom. Each PR targets the previous step, so its diff is that step alone. Nothing changes for a project on GitHub: the characterisation tests from step 1 are never edited by later steps.
GitLab reads through
glab api: routing (GitLab only on positive evidence, a GitHub remote always wins,git.forgeoverrides), merge request and pipeline jobs decoded intoPullRequestandCheckRun,blockersfromdetailed_merge_status, job logs, forks' pipelines read in the source project. No database column: a merge request is found by its source branch, which survives deletion. Fixtures are real gitlab.com answers, trimmed and anonymised.