Skip to content

live disk resize via /scale {diskMB} + billing inherit fix - #560

Open
breardon2011 wants to merge 2 commits into
mainfrom
disk-resize
Open

live disk resize via /scale {diskMB} + billing inherit fix#560
breardon2011 wants to merge 2 commits into
mainfrom
disk-resize

Conversation

@breardon2011

@breardon2011 breardon2011 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

POST /api/sandboxes/:id/scale now accepts diskMB. QMP block_resize + resize2fs grows the qcow2 online (~2s); size persists through hibernate/wake/fork/migration. Shrink refused when guest fs would leave <500MB safety margin. Hibernated returns 409 sandbox_hibernated.

Billing fix in RecordScaleEvent: now inherits any dimension (mem/cpu/disk) left at 0 from the prior event, so disk-only or memory-only scales no longer insert zero-valued rows.

TS/Python SDKs + CLI extended. Full docs + api-reference page.

follow up pr for disk billing hook up in autumn

@2027-evals

2027-evals Bot commented Jul 29, 2026

Copy link
Copy Markdown

2027 — Eval complete for commit 79f59d2

URL Mapping
digger.dev opensandbox-disk-resize.mintlify.site
opencomputer.dev opensandbox-disk-resize.mintlify.site

2027 // complete the getting started guide at https://opencomputer.d — Did not finish

- ⚠️ Score nulled: AI judge determined the task was not completed — Sandbox creation never succeeded: agent could not obtain an API key without browser auth, and after the key was manually provided, the account returned 402 trial credits exhausted
Prompt

complete the getting started guide at https://opencomputer.dev

Commit 79f59d2 · View report →


Evaluating agent experience using 2027.dev · View dashboard

@mintlify

mintlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
opencomputer 🟢 Ready View Preview Jul 29, 2026, 10:33 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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