Repository navigation
fix(release): stamp standalone host build identities - #2183
Merged
Merged
Conversation
Stamp the canonical BuildID alongside MicroVM release defaults and verify real host binary version output before publishing. Co-authored-by: Mecatl <[email protected]>
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
Fix the standalone host release build so
mecated --versionandmecatui --versionreport the release tag instead ofdev.The SHA-256-verified v0.0.46 Darwin assets reproduce the bug.
publish-mecatui-hoststamped each command's MicroVM version and bootstrap defaults, but omittedgithub.com/stacklok/mecatl/internal/buildinfo.BuildID, the canonical value consumed by--version. With-buildvcs=false, the missing value falls back todev.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
devoutput 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
39e6469e5c6073408d0ab09594c8138187885a62: run 37752723459, includingTest (race), macOS CLI smoke, macOS SDK spawn, managed temporary storage on macOS, build, analysis, standalone modules, SDK/browser coverage, documentation, and vulnerability scanning.TestWatcherSeesProjectedSymlinkSwaptest. Those local constraints do not block review; full CI is green.