CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags - #68
Open
kernel-internal[bot] wants to merge 2 commits into
Open
CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags#68kernel-internal[bot] wants to merge 2 commits into
kernel-internal[bot] wants to merge 2 commits into
Conversation
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20260902045311-0872a65a3733, which integrates vendor VFIO vGPUs into the instance lifecycle. The SDK now documents InstanceGPU.MdevUuid as populated on mdev hosts only, and adds InstanceGPU.DevicePath for the sysfs path of an assigned vGPU device. `hypeman ps` gated its GPU column on MdevUuid alone, so an instance with a vendor VFIO vGPU and no profile name rendered as "-". formatGPU now also checks DevicePath. A full enumeration of api.md methods and CLI commands found no other coverage gaps: every SDK method has a CLI command and every param field has a corresponding flag. Co-authored-by: Cursor <cursoragent@cursor.com>
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20260902143136-e6c2b7bc0171, which adds the "swtpm" value to InstanceLogsParamsSource as part of the Windows hypervisor primitives. Teaches `hypeman logs --source` about swtpm and validates the flag up front instead of forwarding an arbitrary string to the API, matching the parseInstanceWaitState / parseSnapshotTargetHypervisor pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
This PR updates the Hypeman Go SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and adds CLI commands/flags for new SDK methods.
SDK Update
v0.28.1-0.20260902143136-e6c2b7bc0171)Coverage Analysis
This PR was generated by performing a full enumeration of SDK methods and CLI commands.
All 43 methods in
api.mdwere enumerated across Health, Capabilities, Images, Instances (plus the AutoStandby, Volumes, Snapshots, and SnapshotSchedule subresources), Snapshots, Volumes, Devices, Ingresses, Resources, Builders, Builds, and Pushes. Every one already has a CLI command, so no new commands were required. All 34*Paramsstructs were enumerated field by field, including the constant values of every enum-typed field; the only uncovered value was the newly addedswtpmlog source.New Commands
None — SDK method coverage was already complete.
New Flags
--sourceonhypeman logsnow acceptsswtpmforInstanceLogsParams.Source, which gained theswtpmenum value in this SDK release as part of the Windows hypervisor primitives.The flag is now validated up front via
parseInstanceLogsSourcerather than forwarding an arbitrary string to the API, matching the existingparseInstanceWaitStateandparseSnapshotTargetHypervisorpattern.Triggered by: kernel/hypeman-go@e6c2b7b
Reviewer: @kernel-internal[bot]