Skip to content

vendor: github.com/klauspost/compress v1.20.1 - #7308

Merged
thaJeztah merged 2 commits into
docker:masterfrom
thaJeztah:bump_compress
Oct 1, 2026
Merged

thaJeztah merged 2 commits into
docker:masterfrom
thaJeztah:bump_compress

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

vendor: vendor: github.com/klauspost/compress v1.20.1

full diff: klauspost/compress@v1.20.0...v1.20.1

vendor: github.com/klauspost/compress v1.20.0

  • Add lzw reader/writer
  • ci: test against go1.27.x, drop go1.24.x
  • flate: Writer L7-9 with dictionary can emit the dictionary to stream
  • gzhttp: limit jitter hash to jitterBuffer bytes
  • s2: arm64 assembly encoders, lowered from the amd64 avo program
  • s2: clamp the Go EncodeBetter skip to match the assembly
  • xpress: add Microsoft XPRESS (MS-XCA) decompression
  • xxhash: bound input of non-preemptive assembly
  • zstd, huff0: improved arm64 lowering, and narrow two table loads to MOVWQZX
  • zstd/huff0: break false partial-register dependencies in seqdec/4X decoders
  • zstd/huff0: fold two ISA-gap x86 idioms in the avo arm64 lowering

full diff: klauspost/compress@v1.19.2...v1.20.0

Summary

Release notes (optional)

A picture of a cute animal (not mandatory but encouraged)

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Review incomplete

chunk 1: Drafter did not complete

Findings so far: ⚠️ INCOMPLETE

vvoland
vvoland previously approved these changes Sep 15, 2026
@vvoland vvoland modified the milestones: 29.8.1, 29.9.0 Sep 15, 2026
@vvoland vvoland modified the milestones: 29.9.0, 29.10.0 Oct 1, 2026
- Add lzw reader/writer
- ci: test against go1.27.x, drop go1.24.x
- flate: Writer L7-9 with dictionary can emit the dictionary to stream
- gzhttp: limit jitter hash to jitterBuffer bytes
- s2: arm64 assembly encoders, lowered from the amd64 avo program
- s2: clamp the Go EncodeBetter skip to match the assembly
- xpress: add Microsoft XPRESS (MS-XCA) decompression
- xxhash: bound input of non-preemptive assembly
- zstd, huff0: improved arm64 lowering, and narrow two table loads to MOVWQZX
- zstd/huff0: break false partial-register dependencies in seqdec/4X decoders
- zstd/huff0: fold two ISA-gap x86 idioms in the avo arm64 lowering

full diff: klauspost/compress@v1.19.2...v1.20.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: klauspost/compress@v1.20.0...v1.20.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title vendor: github.com/klauspost/compress v1.20.0 vendor: github.com/klauspost/compress v1.20.1 Oct 1, 2026
@thaJeztah thaJeztah modified the milestones: 29.10.0, 29.9.0 Oct 1, 2026
@thaJeztah
thaJeztah requested a review from vvoland October 1, 2026 17:35

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

This is a routine vendor bump of github.com/klauspost/compress from v1.19.2 to v1.20.1. The changes are upstream library updates (two releases), consisting primarily of auto-generated ARM64 assembly refactoring, xxhash bounds-checking improvements, and related Go-side wrapper updates. No bugs were introduced in the added lines.

Lower-confidence observations (unverified, low severity — not blocking)

  • [low] vendor/github.com/klauspost/compress/zstd/seqdec_arm64.s:1591 — sequenceDecs_decodeSync_arm64: seqSize tracking moved from per-iteration accumulation to a single end-of-loop delta; error-exit paths now return seqSize=0. This appears intentional (callers should not rely on partial seqSize on error), but is a behavioral change worth noting.
  • [low] vendor/github.com/klauspost/compress/zstd/seqdec_arm64.s:1597 — Same behavioral change applies to the safe variant (sequenceDecs_decodeSync_safe_arm64).
  • [low] vendor/github.com/klauspost/compress/zstd/seqdec_arm64.s:1586 — Non-safe copy-literals fast path performs an unconditional 16-byte load/store even when literal count is zero; the safe variant retains an explicit guard. This is a known upstream pattern (non-safe paths trade safety for speed) and is not a practical bug in normal use.

@thaJeztah
thaJeztah merged commit 0123ab8 into docker:master Oct 1, 2026
109 of 146 checks passed
@thaJeztah
thaJeztah deleted the bump_compress branch October 1, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants