• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindersec / minder / 24798705414
60%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 07:47PM UTC
Jobs 1
Files 345
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2026 07:37PM UTC coverage: 60.337% (-0.001%) from 60.338%
24798705414

push

github

web-flow
Decouple PR feedback actions from GitHub-specific provider (#6262)

* feat: decouple PR feedback actions from GitHub-specific provider

Add generic CommitStatusPublisher and ReviewPublisher interfaces to
pkg/providers/v1 so that commit_status alert and pull_request_comment
alert/remediate actions are no longer hardcoded to provinfv1.GitHub.

Previously both actions fell back silently to NoopAlert/NoopRemediate
with a misleading log message when used with any non-GitHub provider.
This change replaces the GitHub-specific type assertions with generic
interface casts, improving extensibility for future VCS providers.

Changes:
- Define CommitStatus and Review DTOs in pkg/providers/v1
- Define CommitStatusPublisher and ReviewPublisher interfaces
- Implement PublishCommitStatus, PublishReview, DismissPublishedReview
  on the GitHub client as adapter methods
- Add compile-time interface assertions on the GitHub client struct
- Refactor commit_status action to cast to CommitStatusPublisher
- Refactor pull_request_comment action to cast to ReviewPublisher
- Update alert.go and remediate.go to use the new generic interfaces
- Regenerate mocks and update unit tests to MockCommitStatusPublisher
  and MockReviewPublisher

* security: upgrade vulnerable dependencies

* feat(pr-feedback): implement advanced PR review life cycle

Narrow the scope of PR feedback to pull request comments by removing
commit statuses. Refactor provider interfaces to use standard GitHub
methods and implement create-or-update/dismiss logic for Minder reviews.

Co-Authored-By: Antigravity <noreply@google.com>

* fix: stabilize CI, resolve proto breaking changes and regenerate mocks

* fix: restore binary compatibility in proto, sync generation and tidy deps

* fix: synchronize all provider mocks after interface refactoring

* fix: regenerate all proto, mock, and swagger files with proper toolchain

Ran 'make bootstrap' to install buf, sqlc, mockgen, then 'make gen'
to regenerate all files f... (continued)

61 of 83 new or added lines in 4 files covered. (73.49%)

7 existing lines in 2 files now uncovered.

20287 of 33623 relevant lines covered (60.34%)

35.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
59.2
3.13% internal/engine/actions/alert/pull_request_comment/pull_request_comment.go
10
34.78
-9.66% internal/engine/actions/remediate/remediate.go
2
16.13
0.0% internal/engine/actions/alert/alert.go

Coverage Regressions

Lines Coverage ∆ File
6
59.2
3.13% internal/engine/actions/alert/pull_request_comment/pull_request_comment.go
1
69.7
-0.3% internal/authz/authz.go
Jobs
ID Job ID Ran Files Coverage
1 24798705414.1 22 Apr 2026 07:47PM UTC 345
60.34
GitHub Action Run
Source Files on build 24798705414
  • Tree
  • List 345
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24798705414
  • 7627e8e3 on github
  • Prev Build on main (#24794535133)
  • Next Build on main (#25092960842)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc