refactor(actions): replace CLI artifact with cached builds - #19
Merged
Conversation
Contributor
Author
|
Clean-cache result: the cached local-build design works.
Conclusion: exact-key |
jmgilman
marked this pull request as ready for review
August 20, 2026 18:44
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.
Summary
release-clifrom the exact reusable-workflow source for this repository's matching version tagGOCACHEandGOMODCACHEentries in each sequential release jobcli-pathescape hatchesAcquisition contract
setup-release-clinow selects among three paths:local-build: always. The action and reusable workflow must come from the same repository, and the runner must provide an exact workflow SHA.local-build: never. The existing checksum and GitHub attestation verification remains unchanged.cli-pathescape hatch and own that pairing.The executable is never cached. A cache miss performs a complete build, and every supported path must report the action's stamped version and protocol.
Evidence
A clean-cache four-job GitHub spike proved the production sequence before cutover: run 32335377611.
first=false second=true third=true fourth=true7e59af4c3db67b2524fb257c0d568fe84fc06738d68158e36bb04dd9777d3d61Verification
mise exec -- moon run root:checkTrust-boundary change
The release no longer transports one low-privilege-built CLI artifact. Each publishing job installs Go and executes the exact pinned workflow source instead. The source SHA and strict version/protocol check establish CLI identity; GitHub caches are an optimization only.