Skip to content

fix(microvm): handle Darwin development manifests and socket paths - #2200

Merged
JAORMX merged 1 commit into
mainfrom
fix/darwin-microvm-dev-runtime-20261008
Oct 8, 2026
Merged

JAORMX merged 1 commit into
mainfrom
fix/darwin-microvm-dev-runtime-20261008

Conversation

@JAORMX

@JAORMX JAORMX commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix two defects found while exercising the documented Darwin MicroVM development workflow on an Apple Silicon Mac:

  • Make development-bundle validation use the native platform instead of requiring a Linux amd64 manifest. Cover Darwin and Linux manifest selection and reject wrong-platform bundles.
  • Budget repository/hosted-network socket paths after resolving existing ancestors, including macOS /tmp → /private/tmp. Validate the fallback as well, without changing existing endpoint identities or weakening ownership checks.
  • Add focused regression coverage in existing test files, including the actual repository socket derivation and maximum generation suffix. Update the owning architecture and operator docs.

The observed fixture's socket was 103 bytes before canonicalization and 111 bytes afterward. The runtime rejects that overlong socket. The previous Mac session returned a bounded failed_precondition without its backend detail, so this is a confirmed defect and matching reproduction, not proof that no further runtime issues remain.

Validation

  • Focused microvm_dev manager tests passed.
  • Real repository composition/socket regression and rollback tests passed.
  • Socket budget canonicalization and boundary tests passed after updating temporary-directory fixtures to respect TMPDIR and report cleanup failures.
  • Spec, standards, independent test adequacy, security, and architecture reviews found no blockers.
  • Full checks run in CI; PR is ready, not draft. No full local gate requirement.

Next step

After CI passes and this merges, rebuild the existing local development artifacts on ozzmini and retry an isolated mock-provider session with deny-all guest egress, requiring actual guest Shell/filesystem results rather than doctor-only readiness. Production release signatures, checksums, descriptors, and official installed binaries remain unchanged.

Validate development bundles for the native platform and budget canonical repository socket paths, including macOS temporary-directory aliases.

Co-authored-by: Mecatl <[email protected]>
@JAORMX
JAORMX merged commit a16464b into main Oct 8, 2026
37 checks passed
@JAORMX
JAORMX deleted the fix/darwin-microvm-dev-runtime-20261008 branch October 8, 2026 14:33
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 13, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — e87f7eac Deployed Oct 8, 2026 by vercel[bot]
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