Skip to content

CLI: Update hypeman SDK to 458c6a08c9db195425776427cc42690d987f8e5c and add new commands/flags#46

Merged
sjmiller609 merged 3 commits intomainfrom
cli-coverage-update
Apr 8, 2026
Merged

CLI: Update hypeman SDK to 458c6a08c9db195425776427cc42690d987f8e5c and add new commands/flags#46
sjmiller609 merged 3 commits intomainfrom
cli-coverage-update

Conversation

@kernel-internal
Copy link
Copy Markdown
Contributor

@kernel-internal kernel-internal bot commented Apr 8, 2026

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

SDK Update

  • Updated hypeman-go to 458c6a08c9db195425776427cc42690d987f8e5c

Coverage Analysis

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

New Commands

  • hypeman wait for client.Instances.Wait()
  • hypeman auto-standby status for client.Instances.AutoStandby.Status()
  • hypeman update auto-standby for client.Instances.Update() auto-standby fields
  • hypeman snapshot schedule set|get|delete for client.Instances.SnapshotSchedule.Update(), Get(), and Delete()

New Flags

  • --auto-standby-enabled, --auto-standby-idle-timeout, --auto-standby-ignore-destination-port, and --auto-standby-ignore-source-cidr on hypeman run for InstanceNewParams.AutoStandby
  • --enabled, --idle-timeout, --ignore-destination-port, and --ignore-source-cidr on hypeman update auto-standby for InstanceUpdateParams.AutoStandby
  • --interval, --max-age, --max-count, --name-prefix, and --metadata on hypeman snapshot schedule set for SetSnapshotScheduleRequestParam

Triggered by: kernel/hypeman-go@458c6a0
Reviewer: @stainless-app[bot]

Made with Cursor


Note

Medium Risk
Adds several new CLI flows that call instance update/wait and scheduled snapshot APIs, plus new run flags that affect instance lifecycle behavior. Risk is moderate because it changes user-facing behavior and request payloads, but is largely additive and gated behind new commands/flags.

Overview
Updates github.com/kernel/hypeman-go to v0.17.0 and wires new SDK capabilities into the CLI.

Adds new commands: hypeman wait (poll instance state with optional timeout), hypeman auto-standby status (inspect auto-standby status), and hypeman snapshot schedule set|get|delete (manage per-instance scheduled snapshots with retention and metadata).

Extends hypeman run and hypeman update to support configuring an instance auto-standby policy (enabled/idle timeout/ignore ports/ignore source CIDRs), including validation helpers and small unit tests for state/port parsing.

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

kernel-internal bot and others added 2 commits April 8, 2026 12:55
…nd add new commands/flags

Bump the CLI to the latest hypeman-go release and close the remaining SDK coverage gaps for auto-standby, snapshot schedules, and instance wait operations.

Made-with: Cursor
Add human-readable default (auto) output for wait, auto-standby status,
and snapshot schedule set/get commands, matching the pattern used by
resources and reclaim-memory. JSON output remains available via
--format json for scripting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
policy.Enabled = hypeman.Opt(cmd.Bool(enabledFlag))
} else {
policy.Enabled = hypeman.Opt(true)
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update command implicitly forces auto-standby enabled

Medium Severity

The buildAutoStandbyPolicy function defaults auto-standby to enabled=true if the --enabled flag isn't explicitly set, even when other policy flags are present. While suitable for instance creation, this can silently re-enable auto-standby on instances where it was intentionally disabled if a user updates another policy setting.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit de05818. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9b616c5. Configure here.

@sjmiller609 sjmiller609 merged commit 41a05de into main Apr 8, 2026
4 checks passed
@sjmiller609 sjmiller609 deleted the cli-coverage-update branch April 8, 2026 20:01
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.

1 participant