Draft
Conversation
171eea2 to
390e798
Compare
Add GitLab issues and merge requests as first-class context sources,
mirroring the existing GitHub provider. Extract shared repo URL parsing
into `getRepoInfo` in core, unify issue input extraction across all
agents, and update CLI commands (task, push, inspect, mcp), schemas,
telemetry, and the VS Code extension to support the `gitlab` source type.
Key changes:
- New `GitLabProvider` context provider (issues + MRs via glab CLI)
- Shared `getRepoInfo()` in packages/core for GitHub/GitLab URL parsing
- Rename `extractGithubInputs` → `extractIssueInputs` across all agents
- Deprecated `--from-gitlab` flag (parallel to `--from-github`)
- Push command now shows GitLab MR creation links
- Fix: `expansionEntries` filter arrow function returning undefined
- Fix: error message in push.ts ("deleting" → "pushing")
- Fix: comment typo ("Gemini" → "Qwen" credentials check)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fe0eb05 to
2054c95
Compare
Fetch MR approvals from GitLab API to show each reviewer's approval status (approved/pending). Gracefully falls back to names only when the approvals API is unavailable or returns invalid data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…event editor hang 1. Restore try-catch in BaseAgent.isInstalled() so missing binaries return false instead of throwing an unhandled exception. 2. Replace getRepoInfo() with a local parseGitLabRepoInfo() method in GitLabProvider that accepts any git remote URL, matching the GitHub provider pattern. This restores support for self-hosted GitLab instances without "gitlab" in the hostname. 3. Restore GIT_EDITOR=true in Git.continueMerge() to prevent git from opening an interactive editor in non-interactive CLI contexts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ereslibre
approved these changes
Feb 26, 2026
Collaborator
ereslibre
left a comment
There was a problem hiding this comment.
Thank you for the PR @dataforxyz!
I see that commit 2054c95 is very similar to b83b2ec, which was open before it.
This PR supersedes #516 as a whole. What is the current status? Is it draft yet @dataforxyz?
Feel free to remove the draft status if you are good with the current implementation, and we'll work towards merging it.
Collaborator
|
Hello @dataforxyz! It would be great to merge this, feel free to mark this PR as 'Ready for review' if you are good with its current shape and we can get it merged. Thanks! |
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.
Summary
GitLabProviderinpackages/corethat uses theglabCLI to fetch GitLab issues and merge requests as context, with support for nested group namespaces, system note filtering, and self-hosted instancesgetGitHubRepoInfoin the CLIpushcommand into a genericgetRepoInfothat detects GitHub vs GitLab from the remote URL (SSH, HTTPS, SSH aliases, self-hosted)inspect,mcp,program, andoutput-typesto recognize GitLab alongside GitHub (labels, help text, MR URLs)Test plan
push-repo-info.test.tscovers GitHub SSH/HTTPS/alias, GitLab SSH/HTTPS/nested/self-hosted, and non-matching URLsgitlab.test.tscovers issue/MR fetching, nested namespaces, system note filtering, self-hosted instances, and error handlingrover pushgenerates correct MR URL for a GitLab reporover run -c gitlab:issue/1fetches GitLab issue context🤖 Generated with Claude Code