Skip to content

CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags - #68

Open
kernel-internal[bot] wants to merge 2 commits into
mainfrom
cli-coverage-update
Open

CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags#68
kernel-internal[bot] wants to merge 2 commits into
mainfrom
cli-coverage-update

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

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

SDK Update

  • Updated hypeman-go to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b (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.md were 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 *Params structs were enumerated field by field, including the constant values of every enum-typed field; the only uncovered value was the newly added swtpm log source.

New Commands

None — SDK method coverage was already complete.

New Flags

  • --source on hypeman logs now accepts swtpm for InstanceLogsParams.Source, which gained the swtpm enum value in this SDK release as part of the Windows hypervisor primitives.

The flag is now validated up front via parseInstanceLogsSource rather than forwarding an arbitrary string to the API, matching the existing parseInstanceWaitState and parseSnapshotTargetHypervisor pattern.

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

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