Skip to content

feat: add lz4 compression mode#12

Draft
david-rzepa wants to merge 2 commits into
maxnowack:mainfrom
david-rzepa:add-lz4-compression-mode
Draft

feat: add lz4 compression mode#12
david-rzepa wants to merge 2 commits into
maxnowack:mainfrom
david-rzepa:add-lz4-compression-mode

Conversation

@david-rzepa

Copy link
Copy Markdown

What changed

  • Added a compression-mode input with support for auto, gzip, zstd, and lz4.
  • Added lz4 archive naming and tar create/list/extract command wiring.
  • Documented lz4 usage and the cache-format impact of changing compression modes.
  • Added focused tests for compression selection and lz4 tar command generation.

Why

Some self-hosted runners may prefer lz4 for faster cache compression and decompression while still keeping the existing automatic zstd/gzip behavior as the default.

Validation

  • tsc --noEmit
  • jest --runTestsByPath __tests__/cacheUtils.test.ts __tests__/tar.test.ts --runInBand

Note: the full local Jest/lint suite had pre-existing unrelated failures in older tests and CRLF lint checks.

@david-rzepa david-rzepa force-pushed the add-lz4-compression-mode branch from 544b093 to a54e55a Compare June 16, 2026 14:27
@david-rzepa david-rzepa force-pushed the add-lz4-compression-mode branch from a54e55a to dace8c9 Compare June 16, 2026 14:38
@david-rzepa david-rzepa force-pushed the add-lz4-compression-mode branch from dd0bb5c to 2aceab7 Compare June 16, 2026 16:31
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