feat(GitLab): Add GitLab to Project Integrations#7239
Conversation
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, reopen this pull request to trigger a review.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Docker builds report
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7239 +/- ##
==========================================
- Coverage 98.35% 98.29% -0.07%
==========================================
Files 1350 1357 +7
Lines 50723 50846 +123
==========================================
+ Hits 49891 49979 +88
- Misses 832 867 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
|
Visual Regression16 screenshots compared. See report for details. |
|
|
||
|
|
||
| class GitLabConfigurationViewSet(ProjectIntegrationBaseViewSet): | ||
| serializer_class = GitLabConfigurationSerializer # type: ignore[assignment] |
There was a problem hiding this comment.
note: I guess there's nothing to be done here except making ProjectIntegrationBaseViewSet generic (which is I appreciate is way out of scope for this PR).
| assert log.events == [ | ||
| { | ||
| "event": "gitlab-configuration-created", | ||
| "level": "info", | ||
| "gitlab_instance_url": "https://gitlab.example.com", | ||
| "project_id": project.id, | ||
| "organisation_id": project.organisation_id, | ||
| }, | ||
| ] |
There was a problem hiding this comment.
Nice! nit: maybe use project__id and organisation__id to harness OTel conventions (the processor will convert those to project.id and organisation.id)
docs/if required so people know about the feature.Changes
Closes #7159
This introduces GitLab to the Project Integrations tab.
See proposed documentation.
🎉 Bonus: update GitLab logo to their refreshed version.
How did you test this code?
New functional tests. Also screenshots: