Skip to content

test: cover diff IDs with empty config media type - #1707

Open
jabrown85 wants to merge 1 commit into
jab/fix-ggcr-diffid-regressionfrom
jab/test-ggcr-diffid-regression
Open

test: cover diff IDs with empty config media type#1707
jabrown85 wants to merge 1 commit into
jab/fix-ggcr-diffid-regressionfrom
jab/test-ggcr-diffid-regression

Conversation

@jabrown85

Copy link
Copy Markdown
Contributor

Summary

  • add coverage for appending a layer to an image whose config media type is empty
  • assert the image config records the uncompressed layer DiffID

Regression proof

The focused test fails with the current v0.21.9 resolution because RootFS.DiffIDs is empty. It passes with the v0.21.5 override in the base PR.

Testing

  • GOWORK=off go test ./image -run '^TestAppendLayerWithEmptyConfigMediaType$' -count=1

Related to #1662

@jabrown85
jabrown85 requested a review from a team as a code owner August 21, 2026 13:16
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.

1 participant