CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 - #68
Open
kernel-internal[bot] wants to merge 1 commit into
Open
CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807#68kernel-internal[bot] wants to merge 1 commit into
kernel-internal[bot] wants to merge 1 commit 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>
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 0872a65a3733c6bfcc7449222cc4bd28bba43807 and adds CLI commands/flags for new SDK methods.
SDK Update
v0.28.1-0.20260902045311-0872a65a3733)Coverage Analysis
This PR was generated by performing a full enumeration of SDK methods and CLI commands.
All 62 methods in
api.mdwere enumerated along with every*Paramsstruct field (including nested param objects such asHealthCheckParam,IngressRuleParam,AutoStandbyPolicyParam,SnapshotCompressionConfigParam,SnapshotScheduleRetentionParamandVolumeMountParam), then compared against the fullhypemancommand tree walked frompkg/cmd/cmd.go.Result: no missing commands and no missing flags. Every SDK method maps to a CLI command (or is internal-only per the mapping guide:
Instances.Get,Instances.Stat,Volumes.NewFromArchive,Builds.Events,Health.Check), and every param field has a corresponding flag. No endpoints are markedx-cli-skip: trueinopenapi.yaml.New Commands
None — the upstream commit ("Integrate vendor VFIO vGPUs into the instance lifecycle") changed only response types, adding no new endpoints or request parameters.
New Flags
None — no new request parameters were introduced.
Other Changes
The SDK commit added
InstanceGPU.DevicePath(sysfs path of the assigned vGPU device) and re-documentedInstanceGPU.MdevUuidas populated on mdev hosts only.hypeman psgated its GPU column onMdevUuidalone, so an instance backed by a vendor VFIO vGPU with no profile name would render as-instead ofvgpu.formatGPUnow also checksDevicePath, with a test case covering it.go build ./...,go vet ./...andgo test ./...all pass.Triggered by: kernel/hypeman-go@0872a65
Reviewer: @kernel-internal[bot]
Made with Cursor