Skip to content

check manifests and Trivy reports in expectStorageEmpty()#752

Merged
SuperSandro2000 merged 1 commit into
masterfrom
extend-expectstorageempty
Jul 20, 2026
Merged

check manifests and Trivy reports in expectStorageEmpty()#752
SuperSandro2000 merged 1 commit into
masterfrom
extend-expectstorageempty

Conversation

@majewsky

Copy link
Copy Markdown
Contributor

It was an oversight to only consider blobs in that function; I probably forgot to finish the implementation when I added it in 2020. We found this by noticing the otherwise unused ManifestCount() method in the unit-test storage driver.

It was an oversight to only consider blobs in that function; I probably
forgot to finish the implementation when I added it in 2020. We found
this by noticing the otherwise unused ManifestCount() method in the
unit-test storage driver.
@majewsky
majewsky requested a review from a team as a code owner July 20, 2026 09:07
@github-actions

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/sapcc/keppel/internal/api/registry 86.18% (ø)
github.com/sapcc/keppel/internal/drivers/trivial 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/sapcc/keppel/internal/drivers/trivial/storage.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/sapcc/keppel/internal/api/registry/shared_test.go

@SuperSandro2000
SuperSandro2000 merged commit d0fae64 into master Jul 20, 2026
6 checks passed
@SuperSandro2000
SuperSandro2000 deleted the extend-expectstorageempty branch July 20, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants