Skip to content

fix(worker): install zstd for hosted cache-compression parity - #36

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/worker-image-zstd-parity
Jul 14, 2026
Merged

fix(worker): install zstd for hosted cache-compression parity#36
kyle-sexton merged 1 commit into
mainfrom
fix/worker-image-zstd-parity

Conversation

@kyle-sexton

Copy link
Copy Markdown
Contributor

What

Adds zstd to the worker image's compatibility layer.

Why

actions/cache versions every entry as sha256(pathInput | compressionMethod | salt) and selects zstd whenever the binary is present. GitHub-hosted runners ship zstd; this image was gzip-only (verified: docker run --entrypoint bash ghcr.io/melodic-software/ci-runner@be222b0e -c 'command -v zstd' → absent). Result: hosted↔self-hosted cache exchange can never hit, which failed the first-ever governed laptop acceptance dispatch (ci-runner-canary run 29371617183) at the fail-on-cache-miss gate.

Path-side fix (workspace-relative cache paths in the canary contract) is melodic-software/ci-workflows#95; both are required for the melodic-software/github-iac#88 laptop gate.

This is also the first instance of the fleet-image tool-parity class tracked for melodic-software/github-iac#89 (pipx precedent) — the broader parity inventory stays in that issue; this PR ships only what the acceptance gate needs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D5wqdo4adEZmWgjpY9ZjVx

actions/cache versions every entry over the path input plus the
compression tool and picks zstd when the binary exists. GitHub-hosted
runners have zstd; this image was gzip-only, so hosted and self-hosted
jobs could never exchange cache entries — proven live by the first
laptop acceptance dispatch (ci-runner-canary run 29371617183), where
the hosted zstd save missed on the fleet worker's gzip restore.

Part of melodic-software/github-iac#88.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D5wqdo4adEZmWgjpY9ZjVx
@kyle-sexton
kyle-sexton merged commit 97325c9 into main Jul 14, 2026
22 checks passed
@kyle-sexton
kyle-sexton deleted the fix/worker-image-zstd-parity branch July 14, 2026 22:18
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