Skip to content

fix: verify release tooling and require capability validation - #17

Merged
intel352 merged 2 commits into
mainfrom
fix/crm-release-verification-20261129
Nov 29, 2026
Merged

intel352 merged 2 commits into
mainfrom
fix/crm-release-verification-20261129

Conversation

@intel352

Copy link
Copy Markdown
Contributor

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=1 CI 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.

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
intel352 marked this pull request as ready for review November 29, 2026 23:51
@intel352
intel352 merged commit ed804b4 into main Nov 29, 2026
4 checks passed
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