fix(worker): install zstd for hosted cache-compression parity - #36
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
zstdto the worker image's compatibility layer.Why
actions/cacheversions every entry assha256(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 thefail-on-cache-missgate.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