Skip to content

fix(publish): add build verification gate and update go to 1.26.4#6

Merged
handcaught merged 1 commit into
mainfrom
fix/publish-verification-and-stdlib-update
Jun 13, 2026
Merged

fix(publish): add build verification gate and update go to 1.26.4#6
handcaught merged 1 commit into
mainfrom
fix/publish-verification-and-stdlib-update

Conversation

@brokenbot

Copy link
Copy Markdown
Contributor

Problem

Workflows fail on macOS with open bin/darwin/arm64/criteria-adapter-shell: file does not exist. Investigation shows the v0.5.1 OCI artifact manifest is correct — the Darwin ARM64 layer is present. The failure mode is a silent cross-build regression that could produce an incomplete artifact.

Changes

  • publish.yml: Add a Verify multi-platform build step that fails fast if any platform binary is missing before publishing.
  • .gitignore: Add artifact/ to prevent local cross-build outputs from being committed.
  • Makefile: Add cross-build target so developers can reproduce the CI packaging locally.
  • go.mod: Update go directive from 1.26.31.26.4 to resolve GO-2026-5037 and GO-2026-5039 (osv-scanner now clean).

Verification

  • go build ./..., go vet ./..., go test ./... — all pass.
  • make vuln-scan — 0 vulnerabilities (was 2 stdlib vulns at 1.26.3).
  • make deps-outdated — no outdated direct dependencies.

This addresses the bug where workflows fail on macOS because the
Darwin ARM64 binary appears missing from the OCI artifact. The
artifact manifest for v0.5.1 is correct — the issue is that a
silent cross-build failure could produce an incomplete artifact.

Changes:
- Add a "Verify multi-platform build" step to publish.yml that asserts
  all four platform binaries exist before invoking the publish action.
- Add `artifact/` to .gitignore so local cross-build outputs are not
  accidentally committed.
- Add `make cross-build` target for local reproduction of the CI build.
- Update go directive from 1.26.3 to 1.26.4 to resolve GO-2026-5037
  and GO-2026-5039 (osv-scanner clean now).
@handcaught handcaught merged commit d947e06 into main Jun 13, 2026
4 checks passed
@handcaught handcaught deleted the fix/publish-verification-and-stdlib-update branch June 13, 2026 04:52
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.

2 participants