Repository navigation
Commit bdabf46
committed
feat: add native GitLab MR review integration (#618)
Adds `altimate-code gitlab review <mr-url>` CLI command that fetches MR
diffs and posts AI review comments back to GitLab merge requests.
- Parses GitLab MR URLs (any instance, nested groups, self-hosted)
- Fetches MR metadata, diffs, and existing comments via REST API v4
- Runs AI code review using the existing session/prompt infrastructure
- Posts review results as MR notes with deduplication marker
- Exports discussion API helper for future inline commenting
- Auth via GITLAB_PERSONAL_ACCESS_TOKEN or GITLAB_TOKEN env vars
- Self-hosted instances via GITLAB_INSTANCE_URL or auto-detected from URL
Fixes #618
Co-Authored-By: Vijay Yadav <[email protected]>1 parent 0d34855 commit bdabf46
3 files changed
Lines changed: 579 additions & 0 deletions
0 commit comments