Bring VPS performance and root disk editing into one workspace - #505
Merged
Merged
Conversation
Open resource editing with CPU, memory, swap and the root dataset at the front of the page, and collapse additional configuration on that entry. Save the VPS and dataset independently so one operation cannot discard the other draft or imply an atomic update across two API resources. Preserve explicit admin overrides, validate the disk against fresh used space and active tasks, and track uncertain updates with durable locks. Cover independent saves, failures, permissions and responsive cs/en views.
The resource editor now selects its focused view with section=resources. Keep the overview assertion checking both that entry and the owner filter.
Kerrycek
changed the base branch from
codex/resource-override-controls
to
main
September 24, 2026 23:38
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.
English
The VPS overview's Edit resources link currently opens a long general configuration form, and increasing its root disk requires leaving that form. This PR puts VPS performance and root dataset capacity together at the top of the page.
dataset.updatewith MiBrefquotaand only the explicitly selectedadmin_override; the root editor is admin-only.Dependency: stacked on #503 (
codex/resource-override-controls) to retain its allocation override controls and keep this review scoped. Review/merge #503 first, then retarget this PR to main. No backend changes, shared deployment or real-resource mutations were performed.Verification
Risk: the two saves are deliberately independent. A successful disk operation does not imply a successful VPS operation; the page and confirmation state this explicitly. Root capacity changes still require the API's normal authorization/allocation checks, unless an admin explicitly enables the existing override.
Česky
Odkaz Upravit zdroje dosud otevřel dlouhou obecnou konfiguraci a kvůli změně SSD bylo nutné přejít jinam. Nahoře jsou nyní vedle sebe Výkon VPS a SSD / kořenový disk; na mobilu jsou pod sebou. Disk ukazuje aktuální velikost a využití a lze jej upravit přímo zde. Další konfigurace je při příchodu z přehledu sbalená a prázdná kontrola změn se nezobrazuje.
Každá karta má vlastní potvrzení a uložení, protože API provádí dvě samostatné operace. Uložení jedné zachová rozpracovanou druhou. Před změnou disku se znovu ověří využité místo, stav datasetu a jeho aktivní úlohy. Při chybě formulář zůstane vyplněný; nejasná odpověď bez identifikátoru úlohy blokuje slepé opakování. Přepsání limitů je výslovné a pouze pro administrátora.
PR navazuje na #503; nejprve posoudit/sloučit #503, poté přepnout toto PR na main. Ověření: 18 unit testů, typecheck/lint/i18n/build a audity mutací/dialogů prošly. Cílená sada prostředků prošla 30/30 a širší běh ověřil dalších 82 scénářů životního cyklu a úložiště. Navíc je prověřena matice přehledu a oprávnění. Screenshoty a browser testy používají syntetická data. Strukturální audit má stejné dřívější problémy jako výchozí větev, bez nového překročení. Bez nasazení a bez změn skutečných VPS/datasetů.