Skip to content

CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 - #68

Open
kernel-internal[bot] wants to merge 1 commit into
mainfrom
cli-coverage-update
Open

CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807#68
kernel-internal[bot] wants to merge 1 commit into
mainfrom
cli-coverage-update

Conversation

@kernel-internal

Copy link
Copy Markdown
Contributor

This PR updates the Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 and adds CLI commands/flags for new SDK methods.

SDK Update

  • Updated hypeman-go to 0872a65a3733c6bfcc7449222cc4bd28bba43807 (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.md were enumerated along with every *Params struct field (including nested param objects such as HealthCheckParam, IngressRuleParam, AutoStandbyPolicyParam, SnapshotCompressionConfigParam, SnapshotScheduleRetentionParam and VolumeMountParam), then compared against the full hypeman command tree walked from pkg/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 marked x-cli-skip: true in openapi.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-documented InstanceGPU.MdevUuid as populated on mdev hosts only. hypeman ps gated its GPU column on MdevUuid alone, so an instance backed by a vendor VFIO vGPU with no profile name would render as - instead of vgpu. formatGPU now also checks DevicePath, with a test case covering it.

go build ./..., go vet ./... and go test ./... all pass.

Triggered by: kernel/hypeman-go@0872a65
Reviewer: @kernel-internal[bot]

Made with Cursor

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>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 and add new commands/flags CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 Sep 2, 2026
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.

0 participants