Skip to content

images: stop zstd compressing the image twice - #35

Merged
Luap99 merged 1 commit into
podman-container-tools:mainfrom
vtushar06:fix-double-zstd
Jul 31, 2026
Merged

images: stop zstd compressing the image twice#35
Luap99 merged 1 commit into
podman-container-tools:mainfrom
vtushar06:fix-double-zstd

Conversation

@vtushar06

@vtushar06 vtushar06 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

I noticed zstd takes both of those as input files rather than input and output, so it compresses the image and then compresses the resulting .zst again.

On a 300MB test that was 233s instead of 142s and left an extra 48MB .zst.zst behind. Nothing picks that file up so it is only runner time and disk.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
Copilot AI review requested due to automatic review settings July 29, 2026 16:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vtushar06

vtushar06 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@Luap99 this is first time in this repo, let me know if the fix should just drop the second argument instead.

@Luap99 Luap99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Luap99
Luap99 merged commit 3679a27 into podman-container-tools:main Jul 31, 2026
13 of 14 checks passed
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.

3 participants