Repository navigation
fix: verify release tooling and require capability validation - #17
Merged
Merged
Conversation
Verify the pinned wfctl v0.63.2 Linux binary against its official GitHub asset digest before installing it. Fail release capability validation when the selected Linux artifact is missing, ambiguous or unusable, and retain both static contract checks and the Registry notification. Use the qualified Go 1.27.4 release toolchain and run 23 offline release guard regressions in CI. Real release binaries and hosted behavior remain separate qualification gates.
Replace the Python harness with a standard-library Go test package using the test executable for inert transport and CLI fixtures. Keep real Bash, jq and checksum operations, and retain uncertain command fixtures. Preserve the production release workflow bytes and use the existing CI go test ./... command. Cover 24 cases under the race detector, including missing digests, and retain baseline and workflow-wiring controls.
intel352
marked this pull request as ready for review
November 29, 2026 23:51
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.
The release workflow could install an unchecked wfctl download and continue toward publication without a Linux artifact for capability validation. Pin the existing v0.63.2 Linux amd64 binary to its official GitHub release asset SHA-256, verify before installing executable permissions, and reject missing, ambiguous, empty or nonexecutable validation artifacts. Preserve both static contract checks, all six release platforms, permissions and the Registry notification. Release Go is pinned to the qualified official stable version, 1.27.4.
A standard-library Go test package exercises the actual workflow shell steps with inert transport/CLI fixtures and real Bash, jq and hashing. It runs through the existing
go test ./... -v -race -count=1CI command; no Python harness or extra CI invocation remains.Validation on Go 1.27.4: 24/24 logical cases passed under the race detector (26 named completions). The unchanged main workflow produced 8 passes and 16 expected failing cases; skipped-guard and ignored-failure controls also failed as expected. Focused build, vet, actionlint and diff checks passed. Independent correctness/security review found no remaining blocker.
Positive fixture checks substitute only their expected digest; another case rejects synthetic bytes against the production digest. The tests do not execute actual wfctl/plugin release binaries, qualify six-platform artifacts, or establish hosted behavior. Official GitHub asset metadata supplies the pinned digest; publisher build attestation and checksum-list agreement are not claimed. Release qualification and downstream adoption remain separate.