fix(release): keep Desktop and CLI Runtime Host artifacts compatible - #4533
Open
CxHsin wants to merge 5 commits into
Open
fix(release): keep Desktop and CLI Runtime Host artifacts compatible#4533CxHsin wants to merge 5 commits into
CxHsin wants to merge 5 commits into
Conversation
Carry the exact source commit and compatibility epoch through Desktop, npm, and macOS CLI artifacts, then validate packaged hosts and cross-artifact handshakes. Document the supported Client/Host matrix for issue apache#3973. Generated-by: Codex
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
Fixes #3973
Desktop
0.1.11embeds Runtime Host compatibility epoch 25, whilemaka-agent@0.1.0-beta.1advertises epoch 24. The release pipeline could publish artifacts that were individually valid but could not interoperate over the Runtime Host handshake.This change carries one
makaReleaseIdentitythrough Desktop, npm CLI, and macOS CLI artifacts, then validates it during packaging and smoke checks.Root cause
The Desktop and npm CLI release paths did not bind the exact Runtime Host protocol compatibility epoch and source identity into the published artifact. A Desktop client and a remote
maka-agenthost from different epochs could therefore pass independent release checks and fail only at runtime.Changes
makaReleaseIdentitycontaining schema version, product version, exact source commit, and Runtime Host compatibility epoch.0.1.0-beta.1; publish a new matching release from one approved source commit.Verification
git diff --checkpassed.scripts/product-release.test.mjsretains one pre-existing Windows-local bash-path failure, unrelated to this change.Review focus
HEAD.AI use
Codex was used to inspect the issue, implement the release identity propagation and validation, add tests and documentation, and run verification. The resulting changes were reviewed against the repository contribution requirements.
Checklist