Skip to content

Default to Firecracker - #361

Open
sjmiller609 wants to merge 1 commit into
mainfrom
hypeship/default-firecracker-linux
Open

Default to Firecracker#361
sjmiller609 wants to merge 1 commit into
mainfrom
hypeship/default-firecracker-linux

Conversation

@sjmiller609

@sjmiller609 sjmiller609 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

summary

  • change the default hypervisor from Cloud Hypervisor to Firecracker

testing

  • GOCACHE=/tmp/hypeman-go-build go test ./cmd/api/config

Note

Medium Risk
Switching the default hypervisor changes VM runtime behavior for new or minimally configured deployments; operators who expected Cloud Hypervisor must set hypervisor.default explicitly.

Overview
Changes the built-in default for hypervisor.default from cloud-hypervisor to firecracker in defaultConfig() (cmd/api/config/config.go).

Hosts that rely on defaults (no YAML override and no HYPERVISOR__DEFAULT env) will now provision and run VMs with Firecracker instead of Cloud Hypervisor. Existing configs that set the hypervisor explicitly are unchanged.

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

@sjmiller609
sjmiller609 force-pushed the hypeship/default-firecracker-linux branch from dbdb4bd to 16e3470 Compare August 6, 2026 15:27
@sjmiller609
sjmiller609 force-pushed the hypeship/default-firecracker-linux branch from 16e3470 to 0fe2681 Compare August 6, 2026 15:27
@sjmiller609 sjmiller609 changed the title Default Linux hosts to Firecracker Default to Firecracker Aug 6, 2026
@sjmiller609
sjmiller609 marked this pull request as ready for review August 6, 2026 15:28
@sjmiller609
sjmiller609 requested a review from hiroTamada August 6, 2026 15:28

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 using high effort 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 0fe2681. Configure here.

Comment thread cmd/api/config/config.go

Hypervisor: HypervisorConfig{
Default: "cloud-hypervisor",
Default: "firecracker",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Darwin default hypervisor unsupported

Medium Severity

The default Hypervisor.Default was changed to firecracker. On macOS (Darwin), firecracker is not a registered VM starter. This causes instance creations that rely on the default hypervisor to fail on macOS, reporting no VM starter for firecracker.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0fe2681. Configure here.

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.

2 participants