Skip to content

ci: add manual workflow to probe macOS Virtualization.framework#157

Merged
simongdavies merged 1 commit into
hyperlight-dev:mainfrom
simongdavies:ci/check-macos-virtualization
May 19, 2026
Merged

ci: add manual workflow to probe macOS Virtualization.framework#157
simongdavies merged 1 commit into
hyperlight-dev:mainfrom
simongdavies:ci/check-macos-virtualization

Conversation

@simongdavies
Copy link
Copy Markdown
Member

Adds a workflow_dispatch-only job that runs on an Apple Silicon (arm64) GitHub-hosted macOS runner and reports whether the Virtualization framework is available. Probes layer from cheapest to most authoritative: runner identity dump, arm64 assertion, kern.hv_support sysctl, framework bundle presence, and finally VZVirtualMachine.isSupported via an inline Swift program. Writes a result table to the job step summary.

Adds a workflow_dispatch-only job that runs on an Apple Silicon (arm64) GitHub-hosted macOS runner and reports whether the Virtualization framework is available. Probes layer from cheapest to most authoritative: runner identity dump, arm64 assertion, kern.hv_support sysctl, framework bundle presence, and finally VZVirtualMachine.isSupported via an inline Swift program. Writes a result table to the job step summary.
Copilot AI review requested due to automatic review settings May 19, 2026 21:50
@simongdavies simongdavies merged commit 145e7e0 into hyperlight-dev:main May 19, 2026
11 of 12 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a manual GitHub Actions workflow to inspect whether macOS runners can support HyperAgent’s micro-VM needs through Apple’s Virtualization.framework.

Changes:

  • Adds a workflow_dispatch-only macOS probe workflow.
  • Captures runner identity, architecture, kern.hv_support, framework presence, and VZVirtualMachine.isSupported.
  • Writes a small diagnostic table to the job summary.

jobs:
check-virtualization:
name: Inspect Virtualization.framework on ARM macOS
runs-on: macos-latest
Comment on lines +8 to +9
# verify before betting on macOS hosting (see /memories/azure-hosting-kvm.md
# for why "just use platform X" warrants a real check first).
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