Repository navigation
feat(gitlab): search commits and read merge requests with their discussion and diff - #10533
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The PR appears safe to merge; no new blocking issues were found. SummaryAdds opt-in GitLab commit search and richer document reads.
|
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
…ngs without gaps, refuse dot-segment projects
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 15 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 15 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Summary
commitskind. Commit search needs advanced search; on instances without it (detected from application settings, or from GitLab rejecting the scope) a project-scoped commit search lists recent commits and matches their messages, and a group search moves on to its projects. Date filters list commits by author date; oldest-first is refusedrefoption onsearchGitLab, replacing the URL-sniffing client wrapper), and verifies a commit is on that branch before serving itcommit:maps to the repository feature in one shared prefix table)/changes/-/commit/<sha>links resolve to commits; one shared commit-SHA check serves GitLab, GitHub and link parsingType of Change
Testing
bun run --cwd apps/sim test lib/sim-search connectors/gitlab: 53 files, 620 tests pass/changesfallback, advanced-search fallback, scope-rejection fallback, group refusal status, oldest-first refusal, SHA validation, commit ACL prefix, branch refs check, branchrefpassing, path-limited sources excluding commits, opt-in default kinds, commit link parsinggitlab-federated.integration.tsextended with commits search/read and a merge request read (discussion, diff, no internal notes) against the disposable self-hosted GitLab fixture; that suite only runs when the fixture is providedbun run lint,bun run generate(no drift),check:comment-hygiene,check:test-patterns,check:utils,check:explicit-any(baseline shrunk),check:api-validation:strict; full type-check and audits left to CIChecklist
test-auditauthoring gate)