Skip to content

feat(gitlab): Open PR comment workflow - Backend #92091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jianyuan
Copy link
Contributor

@jianyuan jianyuan commented May 22, 2025

Implement Open PR comment workflow for GitLab.

  1. Added a new method: sentry.utils.path_set.patch_to_file_modifications. This method parses a unified diff to determine which files and lines were added, deleted, or modified. Unlike GitHub, GitLab does not provide this information, hence the need for such a method.
  2. Introduced a new organization option: sentry:gitlab_open_pr_bot, which allows toggling the workflow on or off.

image

@jianyuan jianyuan requested review from a team as code owners May 22, 2025 04:59
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 22, 2025
@jianyuan jianyuan changed the title feat(gitlab): Open PR comment workflow feat(gitlab): Open PR comment workflow - Backend May 22, 2025
@jianyuan jianyuan force-pushed the feat/gitlab-open-pr-comment branch from 76e6ad1 to 61beb88 Compare May 22, 2025 05:07
@jianyuan jianyuan force-pushed the feat/gitlab-open-pr-comment branch from 61beb88 to 56c2ecb Compare May 22, 2025 05:23
@iamrajjoshi iamrajjoshi added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label May 22, 2025
@iamrajjoshi iamrajjoshi requested a review from a team May 22, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants