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

mindersec / minder / 41349626190
67%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2026 09:11PM UTC
Jobs 1
Files 359
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

01 Nov 2026 08:59PM UTC coverage: 65.414% (+0.07%) from 65.343%
41349626190

push

github

web-flow
fix(controlplane): make ArtifactPk consistently the entity UUID (#7055)

Make ArtifactPk consistently the entity UUID

GetArtifactByName and GetArtifactById set ArtifactPk to upstream_id,
while ListArtifacts sets it to the entity UUID -- so the same
artifact's ID means different things depending on which endpoint
returned it, and the UUID-shaped artifact get --id can't accept the
ID that GetArtifactByName just returned.

Confirmed the resulting break: minder artifact get sends ArtifactPk
as the entity ID to GetProfileStatusByName, which calls uuid.Parse on
it server-side. For a DockerHub/Quay/GitHub artifact, that value is
upstream_id or a package ID, not a UUID, so the call fails with
InvalidArgument. Reproduced this against the real
GetProfileStatusByName handler before fixing it.

Fixes this in the two handlers (GetArtifactByName, GetArtifactById):
ArtifactPk is now set to the entity UUID after converting to proto,
matching ListArtifacts. Provider code is untouched -- it still writes
upstream_id into properties, the handler now overwrites it in the
response.

Also fixes the test fixture that masked this: mock_artifact_get.json
used a placeholder ID ("111") that the mocked
GetProfileStatusByName(gomock.Any(), ...) never checked, so the CLI
test never exercised the real value. Fixture now uses a real-shaped
UUID, and the mock asserts the exact ID it receives.

Fixes #7050

2 of 2 new or added lines in 1 file covered. (100.0%)

23201 of 35468 relevant lines covered (65.41%)

58.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41349626190.1 01 Nov 2026 09:11PM UTC 359
65.41
GitHub Action Run
Source Files on build 41349626190
  • Tree
  • List 359
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41349626190
  • 70f5f9ca on github
  • Prev Build on main (#41345782031)
  • Next Build on main (#41526093944)
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