Repository navigation
Add microvm upload/download commands - #2079
Merged
Merged
Conversation
Wraps the new MicroVMs.UploadFile/DownloadFile endpoints: doctl compute microvm upload <id> --local-file F --path /remote [--mode 0600 --uid N --gid N] doctl compute microvm download <id> --path /remote --save-to F Upload sends the local SHA-256 so the API verifies before replacing the target. Download streams into a temp file and renames on success; godo's body checks the announced digest at EOF, so a mismatch leaves nothing at --save-to. Co-authored-by: Cursor <cursoragent@cursor.com>
godo v1.233.0 moved hosted-agents routes from /v2/agents to /v2/harness-runtime. The fake harness only registered the old prefix, so every StreamSession in internal/agentproxy/opencode got a 404 and the proxy answered 502. Register both prefixes, as the edge does. Co-authored-by: Cursor <cursoragent@cursor.com>
godo v1.233.0 sends the new prefix (digitalocean/godo#1189); the fake API in the pause-reason suite only matched /v2/agents/sessions, so list/show hit the unknown-request branch and timed out. Co-authored-by: Cursor <cursoragent@cursor.com>
SSharma-10
approved these changes
Oct 26, 2026
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.
Adds the new MicroVMs.UploadFile/DownloadFile endpoints:
doctl compute microvm upload --local-file F --path /remote [--mode 0600 --uid N --gid N]
doctl compute microvm download --path /remote --save-to F