Skip to content

fix(release): stamp standalone host build identities - #2183

Merged
JAORMX merged 1 commit into
mainfrom
fix/release-host-build-id-20261008
Oct 8, 2026
Merged

JAORMX merged 1 commit into
mainfrom
fix/release-host-build-id-20261008

Conversation

@JAORMX

@JAORMX JAORMX commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fix the standalone host release build so mecated --version and mecatui --version report the release tag instead of dev.

The SHA-256-verified v0.0.46 Darwin assets reproduce the bug. publish-mecatui-host stamped each command's MicroVM version and bootstrap defaults, but omitted github.com/stacklok/mecatl/internal/buildinfo.BuildID, the canonical value consumed by --version. With -buildvcs=false, the missing value falls back to dev.

  • Stamp BuildID for both commands across all three host release targets.
  • Execute each freshly built native Linux amd64 binary before signing/upload and require the exact expected version.
  • Extend the offline release contract with real binary version checks and an unstamped negative control; retain the existing MicroVM identity/defaults and embedded-readiness coverage.

Scope and release research

This is not a MicroVM bootstrap-version fix. Production MicroVM admission uses separately stamped version/default fields, which were already present. The dev output alone does not establish a bootstrap failure; the Mac's host preflight passed, but no VM boot was performed. Darwin MicroVM support remains experimental.

The v0.0.46 CLI archive/Homebrew publishing failure is separate: job 112985883331 failed while obtaining a keyless OIDC token, with invalid character 'u' looking for beginning of value. Permissions and cosign arguments were correct. Cosign v3.0.6 decoded a non-JSON endpoint response without checking its HTTP status. Upstream fix #5062 documents the same symptom for an upstream 502. The exact HTTP response in this run is unavailable, so no speculative signing workaround or weakened verification is included.

This PR changes future builds, not existing release artifacts. The workflow reuses complete immutable asset sets; merely rerunning v0.0.46 will not replace those standalone binaries. Prefer publishing the fix in a new release after merge.

Validation

  • Full ready-for-review CI passed at 39e6469e5c6073408d0ab09594c8138187885a62: run 37752723459, including Test (race), macOS CLI smoke, macOS SDK spawn, managed temporary storage on macOS, build, analysis, standalone modules, SDK/browser coverage, documentation, and vulnerability scanning.
  • MicroVM E2E and performance checks also passed at the same head. MicroVM macOS coverage is compile/static coverage, not a native VM boot qualification.
  • Offline release contract and focused embedded-readiness/version checks were exercised locally; the offline demo showed tool call, permission approval, and result.
  • Four-axis review: no findings (spec, standards, test adequacy, DevOps).
  • Earlier local full-gate attempts encountered temporary-storage/socket-path constraints and an unchanged flaky TestWatcherSeesProjectedSymlinkSwap test. Those local constraints do not block review; full CI is green.

Stamp the canonical BuildID alongside MicroVM release defaults and verify real host binary version output before publishing.

Co-authored-by: Mecatl <[email protected]>
@JAORMX
JAORMX marked this pull request as ready for review October 8, 2026 08:52
@JAORMX
JAORMX merged commit abff477 into main Oct 8, 2026
66 checks passed
@JAORMX
JAORMX deleted the fix/release-host-build-id-20261008 branch October 8, 2026 09:10
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 8, 2026
2 tasks
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