Skip to content

CLI: Update hypeman SDK to 4761d6828471a6c40c298a74934837cb01b17aad and add new commands/flags - #61

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

CLI: Update hypeman SDK to 4761d6828471a6c40c298a74934837cb01b17aad and add new commands/flags#61
kernel-internal[bot] wants to merge 4 commits into
mainfrom
cli-coverage-update

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

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

SDK Update

  • Updated hypeman-go to 4761d6828471a6c40c298a74934837cb01b17aad (v0.23.1-0.20260810220603-4761d6828471)

Coverage Analysis

This PR was generated by performing a full enumeration of SDK methods and CLI commands.

Every method in api.md was cross-checked against the CLI command tree, and every field of all 31 *Params structs (plus their nested param types such as AutoStandbyPolicyParam, HealthCheckParam, RestartPolicyParam, SnapshotPolicyParam, VolumeMountParam, IngressRuleParam, SetSnapshotScheduleRequestParam, and MemoryReclaimRequestParam) was cross-checked against the CLI flag set. No x-cli-skip: true endpoints exist in openapi.yaml.

For this SDK bump specifically, no new coverage gaps were found: the diff from the previously pinned SDK commit touches only release workflow files and does not change the API surface. The commands and flags listed below were added by earlier commits on this evergreen branch.

New Commands

  • No new commands were required in this update; all SDK methods already have CLI coverage.

New Flags

  • --hypervisor on hypeman run accepts qemu-microvm for InstanceNewParams.Hypervisor
  • --request-header-auth-header / --request-header-auth-value on hypeman ingress create for IngressRuleParam.RequestHeaderAuth
  • request-header-auth=HEADER:VALUE option on --rule for hypeman ingress create
  • --target-hypervisor on hypeman snapshot fork and hypeman snapshot restore for SnapshotForkParams.TargetHypervisor and InstanceSnapshotRestoreParams.TargetHypervisor
  • --state on hypeman ps for InstanceListParams.State

Triggered by: kernel/hypeman-go@4761d68
Reviewer: @sjmiller609


Note

Medium Risk
Ingress header auth affects edge routing security configuration; hypervisor selection changes which VMs can be created or restored, with validation-only CLI changes plus SDK dependency bump.

Overview
Updates hypeman-go to a newer pre-release build and wires two SDK gaps into the CLI.

Ingress request-header auth on hypeman ingress create: --request-header-auth-header / --request-header-auth-value for single-rule creates, plus request-header-auth=HEADER:VALUE in the --rule grammar (values may contain colons after the first separator). Shorthand auth flags cannot be mixed with --rule.

qemu-microvm is accepted on --hypervisor (run), --target-hypervisor (snapshot restore / fork, with microvm alias), and shown as microvm in hypeman ps. Help text notes microvm limitations (no PCI, hotplug memory, or more than eight virtio-mmio devices).

Reviewed by Cursor Bugbot for commit 02aef63. Bugbot is set up for automated code reviews on this repo. Configure here.

kernel-internal Bot and others added 2 commits August 10, 2026 14:13
Bumps github.com/kernel/hypeman-go to c2d1040 so the CLI builds against the
latest generated SDK surface.

A full enumeration of the 58 SDK methods in api.md and their param struct
fields was compared against every command and flag in pkg/cmd/. No coverage
gaps were found, so no new commands or flags were needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
…r auth

The SDK now exposes IngressRuleParam.RequestHeaderAuth, letting an ingress rule
require a matching request header before proxying. Expose it on
`hypeman ingress create` via --request-header-auth-header/--request-header-auth-value
for the single-rule shorthand and a request-header-auth=HEADER:VALUE option in
the --rule grammar.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to c2d10406ff6f89703f7cae2fb112e5067370902d CLI: Update hypeman SDK to fb25cdc43a87da159d80da7560d87e300754907a and add new commands/flags Aug 10, 2026
Updates the Hypeman Go SDK to f8a5d4586ff9c812b8b5f0aa342bb0b7b47bd3dc, which
adds a qemu-microvm hypervisor backend to the hypervisor enums.

The CLI validates hypervisor names against hardcoded lists, so the new backend
was unselectable until those lists accepted it. Accept it on `hypeman run
--hypervisor`, `hypeman snapshot restore --target-hypervisor`, and `hypeman
snapshot fork --target-hypervisor`, and render it in the `hypeman ps` HV column.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to fb25cdc43a87da159d80da7560d87e300754907a and add new commands/flags CLI: Update hypeman SDK to f8a5d4586ff9c812b8b5f0aa342bb0b7b47bd3dc and add new commands/flags Aug 10, 2026
Full enumeration of SDK methods (api.md) and param struct fields against
the CLI command/flag tree found no coverage gaps, so this is a dependency
bump only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to f8a5d4586ff9c812b8b5f0aa342bb0b7b47bd3dc and add new commands/flags CLI: Update hypeman SDK to 4761d6828471a6c40c298a74934837cb01b17aad and add new commands/flags Aug 10, 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