Closed
Conversation
cf42af0 to
a59562e
Compare
Add GitLab as a second SCM integration alongside GitHub, following the existing IntegrationModule/SCMIntegration architecture. This enables CASCADE to process GitLab merge request webhooks and run agents against GitLab repositories. Key additions: - Core GitLab module (client via @gitbeaker/rest, dual-persona model, SCMIntegration implementation) - Router layer (webhook route, signature verification, adapter, queue types) - 9 trigger handlers (MR opened, pipeline success/failure, approval, reviewer added, comment mention, merged, conflict detected, ready to merge) - 11 GitLab gadgets for agent MR operations - SCM-provider-aware context pipeline, CLI commands, tool manifests, and agent system prompts - Frontend SCM tab with GitHub/GitLab provider selector - CLI webhook commands with --gitlab-only support - GitLab webhook CRUD via API - Worker entry GitLab job dispatch with CASCADE_SCM_PROVIDER env var - PR/MR URL extraction supports both /pull/NNN and /merge_requests/NNN - Post-execution work-item linking works for GitLab MRs - Database migration for gitlab SCM provider CHECK constraint - glab CLI installed in worker Docker image - 100 unit tests across 7 test files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a59562e to
96f5136
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.
Summary
Test Plan
npm test)npm run lint)npm run typecheck)Checklist