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

mindersec / minder / 44396165870
68%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 09:04PM UTC
Jobs 1
Files 362
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

18 Nov 2026 08:55PM UTC coverage: 67.75% (-0.004%) from 67.754%
44396165870

push

github

web-flow
Prep Reminder for artifact entities: detect deleted tags, use HEAD for digest lookup (#7142)

* Prep Reminder for artifact entities: detect deleted tags, use HEAD for digest lookup

Two scoped fixes needed before #7090 (extending Reminder to artifact
entities):

1. Map a 404 from GetDigest to provifv1.ErrEntityNotFound in
   DockerHub's and Quay's FetchAllProperties, so a deleted tag is
   detectable instead of surfacing as a plain error.

2. Switch getDigestFromRef from a GET-based remote.Get to a HEAD-based
   request. Docker Hub's docs confirm HEAD doesn't count toward the
   pull-rate-limit (GET does), so this keeps a periodic Reminder
   refresh from quickly exhausting the anonymous budget. Falls back
   to GET if the registry doesn't return the digest header on HEAD.

Both covered by new tests (internal/providers/oci/digest_test.go) and
updated DockerHub/Quay provider tests.

* Return early on transport errors in getDigestFromRef instead of falling back to GET

A *transport.Error means the registry answered with a non-2xx status
(404, 401, 429, 5xx). Returning it as-is avoids a GET on a 429, which
would count against the very rate limit that was just hit. The GET
fallback is now reserved for the one case it's meant to cover: HEAD
succeeded but the registry omitted Docker-Content-Digest.

23 of 24 new or added lines in 3 files covered. (95.83%)

7 existing lines in 4 files now uncovered.

24442 of 36077 relevant lines covered (67.75%)

60.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
79.86
0.08% internal/providers/oci/oci.go

Coverage Regressions

Lines Coverage ∆ File
2
93.24
-1.24% internal/providers/dockerhub/dockerhub.go
2
94.16
-1.36% internal/providers/quay/quay.go
2
93.94
-6.06% pkg/datasources/v1/registry.go
1
79.86
0.08% internal/providers/oci/oci.go
Jobs
ID Job ID Ran Files Coverage
1 44396165870.1 18 Nov 2026 09:04PM UTC 362
67.75
GitHub Action Run
Source Files on build 44396165870
  • Tree
  • List 362
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44396165870
  • b1e28081 on github
  • Prev Build on main (#44365038143)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc