refactor: simplify microvm spawner#462
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR simplifies the MicroVM provisioning ecosystem by removing optional configuration fields (spawn_variant, flake_ref, dev_shell, cpu, memory_mb, ttl_seconds) from multiple data structures across control plane, microvm, and spawner crates. The provisioning return type changes from rich VmResponse to a simple vm_id String, default constants are deleted, and VM spawner endpoints/configuration are streamlined. Additionally, a major internal refactor in the manager introduces layout-based VM allocation and error types, and HTTP routes are reduced. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
d964b93 to
46b9d5d
Compare
Summary
Testing
Summary by CodeRabbit
Release Notes
Documentation
Refactor