Skip to content

CLI: Update Hypeman Go SDK to 12737aa4d289754ed9205d2fb49b17de4689b305#47

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

CLI: Update Hypeman Go SDK to 12737aa4d289754ed9205d2fb49b17de4689b305#47
kernel-internal[bot] wants to merge 4 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 dependency to the latest version.

SDK Update

  • Updated hypeman-go to 12737aa4d289754ed9205d2fb49b17de4689b305

Coverage Analysis

A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found.

Triggered by: kernel/hypeman-go@12737aa
Reviewer: @Sayan-


Note

Medium Risk
Moderate risk due to SDK upgrade and changes to how standby/snapshot compression parameters are serialized into API requests, which could alter runtime behavior for standby and new instance policies.

Overview
Updates github.com/kernel/hypeman-go from v0.17.0 to v0.18.1-... (plus go.sum), aligning the CLI with newer SDK request shapes.

Extends hypeman standby with --compression-delay and wires compression options through a new StandbyInstanceRequestParam nested under InstanceStandbyParams. Extends hypeman run with --snapshot-compression-delay, mapping to SnapshotPolicyParam.StandbyCompressionDelay, and refactors snapshot policy construction to allow setting delay independent of compression enable/level/algorithm.

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

Refresh the CLI to the latest hypeman-go revision after a full SDK/CLI coverage audit confirmed there are no new user-facing commands or flags to add.

Made-with: Cursor
…nd add standby compression delay flags

Bump the CLI to the latest hypeman-go release and wire through the new standby compression delay settings so the existing run and standby flows stay aligned with the SDK surface.

Made-with: Cursor
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to deb21b92fea795fd8b9ab6c54fd9afe15d91c2ea CLI: Update hypeman SDK to e77b77e3fe42c57676648f873cf87701d80728fa and add new commands/flags Apr 17, 2026
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.

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 08a550e. Configure here.

Comment thread pkg/cmd/lifecycle.go
compression.Algorithm = parsedAlgorithm
}
params.Compression = compression
request.Compression = compression
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing nested guard sends unintended compression config

Medium Severity

In lifecycle.go, the SnapshotCompressionConfigParam is unconditionally built inside the outer if block. When a user passes only --compression-delay, the compression config is still created with Enabled: true (via the fallback on line 170), even though the user never requested compression. In contrast, run.go correctly uses a nested if to guard the compression config creation, only building it when snapshot-compression-enabled, snapshot-compression-algorithm, or snapshot-compression-level is set. The lifecycle.go code is missing this same nested guard, causing unintended side effects.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 08a550e. Configure here.

Bump the CLI to the latest hypeman-go SDK so it stays aligned with the generated API surface. A full SDK and CLI coverage pass found no new command or flag gaps to add in this update.

Made-with: Cursor
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to e77b77e3fe42c57676648f873cf87701d80728fa and add new commands/flags CLI: Update Hypeman Go SDK to 12737aa4d289754ed9205d2fb49b17de4689b305 Apr 29, 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