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

stacklok / minder / 10389263004
53%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2024 02:20PM UTC
Jobs 1
Files 228
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

14 Aug 2024 02:13PM UTC coverage: 54.0% (+0.02%) from 53.985%
10389263004

push

github

web-flow
Handle github repository transfer events. (#4130)

Github webhook events having type `repository` and action
`transferred` are handled by producing an internal event that triggers
an evaluation. Despite being safe, it cannot lead to any useful action
since the github app installation lost permissions to operate on the
repository.

This change makes it so that `repository.transferred` events are
handled as deletions. In order for such deletion to be successful, 403
Forbidden errors on webhook deletions must be handled gracefully, so
that repository deletion can terminate without errors.

This is safe since (b) there's nothing Minder can do about this,
having lost the necessary permissions, and (b) repository registration
removes stale webhooks. The latter point is relevant to fix repository
transfers when auto registration is enabled: in these cases,
repository ownership is migrated before the event is delivered to
Minder, making it impossible to cleanup webhooks, which leads to an
SQL deletion failure, which eventually makes it impossibile to
re-register the repository under the destination project.

Fixes #3274

Co-authored-by: Don Browne <dmjb@users.noreply.github.com>

11 of 11 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

12635 of 23398 relevant lines covered (54.0%)

46.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10389263004.1 14 Aug 2024 02:20PM UTC 0
54.0
GitHub Action Run
Source Files on build 10389263004
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10389263004
  • ca9c8f15 on github
  • Prev Build on main (#10387115158)
  • Next Build on main (#10389553874)
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