Skip to content

microdroplet: reshape doctl onto api-v2 and hide the tree (MDROP-336) - #1945

Draft
sgupta832 wants to merge 4 commits into
digitalocean:mainfrom
sgupta832:MDROP-336/doctl-microdroplet-v2
Draft

microdroplet: reshape doctl onto api-v2 and hide the tree (MDROP-336)#1945
sgupta832 wants to merge 4 commits into
digitalocean:mainfrom
sgupta832:MDROP-336/doctl-microdroplet-v2

Conversation

@sgupta832

Copy link
Copy Markdown

Summary

Restores MicroDroplet doctl support (reverted in #1900) onto the api-v2 contract, with Hidden: true so it stays out of --help and generated docs until GA.

Depends on: godo #1098 must merge and cut a release before this can vendor/compile. Do not merge until public preview is live (and godo is released).

What changed

  • Restore the July tree, then reshape create: --oci-ref / --checkpoint-id, --cpu / --memory, --ports
  • Checkpoint sub-group: create / list / get / delete against the sibling collection
  • microdroplet options for create options
  • Drop the image sub-tree (edge-hidden in api-v2)
  • Hidden: true on the root microdroplet command

Test plan

  • go test ./commands/ -run MicroDroplet (against local godo replace from Snap Version Fix #1098)
  • make mocks / vendor bump after godo release
  • make integration after godo release
  • doctl compute --help does not list microdroplet; direct invocation still works

Notes

Marked draft intentionally. Mark ready-for-review only once PP is confirmed live (not merely when godo releases).

Jira: https://do-internal.atlassian.net/browse/MDROP-336 / MDROP-21

Made with Cursor

sgupta832 and others added 3 commits September 3, 2026 03:31
Restore the July doctl MicroDroplet command tree so it can be reshaped
onto the api-v2 contract.

Co-authored-by: Cursor <cursoragent@cursor.com>
Update create flags to --oci-ref/--checkpoint-id and --cpu/--memory,
promote checkpoints to a sub-group, add options, drop the image
sub-tree, and set Hidden so the command stays out of help/docs until GA.

Co-authored-by: Cursor <cursoragent@cursor.com>
Format command_config/microdroplets_test. Temporarily replace
godo with sgupta832/godo@v1.206.1-mdrop336.1 until digitalocean/godo

Co-authored-by: Cursor <cursoragent@cursor.com>
digitalocean#1098 releases; remove the replace then.
@sgupta832

Copy link
Copy Markdown
Author

CI fix: gofmt + temporary replace to sgupta832/godo@v1.206.1-mdrop336.1 (same commits as digitalocean/godo#1098). Drop the replace and re-vendor from a real godo release once #1098 ships.

Comment thread go.sum Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
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