GitLab MR Status
Shows the GitLab merge request for each thread's branch, with its pipeline and approvals, right above the composer. Mark the merge request ready, set it back to draft, or merge it with a merge, squash or rebase without leaving bb. Merge request links and !123 references in chat get chips with a hover card showing state, pipeline and branches. Thread rows show a colored !123 badge while you scan the sidebar. Requires the glab CLI, logged in on each machine that runs threads; self-hosted GitLab works.
Overview
Each thread shows the GitLab merge request for its branch, where you already look: above the composer, in the thread list and in chat.
What you get
- A status bar above the composer with the MR's title, pipeline, approvals and what needs attention, plus Mark ready, Draft and Merge (merge, squash or rebase).
- Rows in the thread context card (the
threadContextCardexperiment) and the Info tab: the MR, its state and its pipeline. - A
!12badge on thread rows in bb's thread list, colored by state with a marker while the pipeline runs or fails. Turn on Organize → Rows → Metadata. - MR chips in chat messages: a chip for each merge request a message
mentions (a full MR URL on any GitLab host glab knows, or
!12for the thread's project), with a hover card showing title, state, pipeline, approvals, branches and author. Agents can also write::gitlab-mr{ref="!12"}to place a chip in a reply. Choose chips, directive, both or off in the plugin's settings. - A
bb merge-requestcommand for agents and terminals.
How it works
The plugin runs glab on the environment's own machine, in its workspace,
and looks up the merge request for the current branch, so every GitLab host
glab auth login knows works, self-hosted ones included. Environments whose
remote is not a GitLab host show nothing; an offline machine or a missing
glab login is shown as unavailable.
More from Yasser Rabee
More in Code & Reviews 66
Work with repositories, builds, changes, pull requests, issues, and reviews.


