Repository navigation
Conversation
Add POST /v2/microvms/{microvm_id}/fork, the fork_id and forked_from fields
on a MicroVM, the two matching list filters, and the fork feature gate.
rak16
marked this pull request as ready for review
November 26, 2026 16:50
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents MicroVM fork: one request that creates one or more copies of a running or paused MicroVM.
Ready for review; hold merge until the
forkrollout starts. Fork is behind theforkfeature gate and is not enabled for any team yet.What changed
POST /v2/microvms/{microvm_id}/fork(microvms_post_fork), scopemicrovm:create.count,name,tags.microvms(the copies, increating),fork_id,checkpoint_id.forked_frombefore retrying.fork_idandforked_from, present only on a MicroVM a fork created.GET /v2/microvms:fork_idandforked_fromfilters.GET /v2/microvms/options: theforkfeature in the features description.responses/errors.yml#/conflict: updated the 409 example code fromCONFLICTtoALREADY_EXISTSto matchmicrodroplet-api(codes.AlreadyExists→ HTTP 409ALREADY_EXISTS).Testing
make lintpasses with 0 errors. The warnings it prints are in files this PR does not touch.Related