test: verify PR scanning and review comments #20

Open
opened 2026-03-17 18:59:37 +00:00 by sharang · 0 comments
Owner

The PR review pipeline (run_pr_review in agent.rs) has not been tested end-to-end. Need to verify:

Test plan:

  • Create a PR on a tracked repository (Gitea webhook configured)
  • Verify the webhook triggers a PR review scan
  • Verify the scan diffs only the changed files (base_sha..head_sha)
  • Verify review comments are posted back to the PR on the correct lines
  • Test with Gitea, GitHub, and GitLab webhook payloads
  • Verify the scan respects the repository's branch protection rules
  • Check that findings are linked to the correct PR and commit
The PR review pipeline (run_pr_review in agent.rs) has not been tested end-to-end. Need to verify: Test plan: - Create a PR on a tracked repository (Gitea webhook configured) - Verify the webhook triggers a PR review scan - Verify the scan diffs only the changed files (base_sha..head_sha) - Verify review comments are posted back to the PR on the correct lines - Test with Gitea, GitHub, and GitLab webhook payloads - Verify the scan respects the repository's branch protection rules - Check that findings are linked to the correct PR and commit
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sharang/compliance-scanner-agent#20