Repository navigation
Modernize compute and disk configuration - #48368
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughDisk management is reorganized into page sections with centralized pricing badges, updated compute and disk controls, targeted validation scrolling, animated notices, revised page headers, and expanded pricing and storage schema tests. ChangesCompute and disk management
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant DiskManagementForm
participant useDiskManagementReviewChanges
participant BillingChangeBadge
User->>DiskManagementForm: edit compute or disk settings
DiskManagementForm->>useDiskManagementReviewChanges: watch updated form fields
useDiskManagementReviewChanges->>DiskManagementForm: return prices and badge visibility
DiskManagementForm->>BillingChangeBadge: render section and footer billing changes
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Test Results (tanstack)Details
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (7)
apps/studio/pages/project/[ref]/settings/compute-and-disk.tsx (1)
14-14: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueComponent is named
AuthSettingson the Compute and Disk page.Pre-existing, but this line is being touched — a rename to
ComputeAndDiskSettingsis cheap while you're here.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/pages/project/`[ref]/settings/compute-and-disk.tsx at line 14, Rename the AuthSettings component to ComputeAndDiskSettings in the Compute and Disk page, updating its declaration and all references consistently while preserving its existing behavior.apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx (2)
141-144: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value
INITIALLY_VISIBLE_COUNTis now just a skeleton count.The show-more/show-fewer behaviour is gone, so the name no longer describes its use. Rename to something like
SKELETON_PLACEHOLDER_COUNT.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx` around lines 141 - 144, Rename INITIALLY_VISIBLE_COUNT to a skeleton-specific constant such as SKELETON_PLACEHOLDER_COUNT, and update its usage in the loading placeholder map within the compute-size field. Do not change the number of rendered skeletons or surrounding loading behavior.
61-68: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winDuplicate free-upgrade eligibility logic.
projectComputeSize/showUpgradeBadgeare computed identically here and inComputeSizeField(Lines 114-115), each firing its ownuseCheckEntitlements. Extract a smalluseShowMicroUpgradeBadge()hook in this folder and reuse it in both.As per coding guidelines: "Search for and reuse existing hooks or helpers before creating new ones; new abstractions should be reusable, generally named, and placed where other callers can find them."
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx` around lines 61 - 68, Extract the duplicated project compute-size and entitlement logic into a reusable useShowMicroUpgradeBadge() hook in the DiskManagement fields folder, using the existing useSelectedProjectQuery and useCheckEntitlements symbols. Replace both ComputeSizeField call sites with this hook, ensuring it performs the entitlement check once per caller and preserves the existing nano-size eligibility result.Source: Coding guidelines
apps/studio/components/interfaces/DiskManagement/ui/NoticeBar.tsx (2)
6-17: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value
@deprecatedon a brand-new component reads oddly, and it's attached to the interface.The JSDoc block sits directly above
NoticeBarProps, so tooling will mark the type rather than the component. If the intent is "temporary shim until callers move toAdmonition", say so in a plain comment (or put@deprecatedon the function) and link the follow-up.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/ui/NoticeBar.tsx` around lines 6 - 17, The deprecation annotation is incorrectly attached to the new NoticeBarProps interface. Replace the misleading JSDoc with a plain temporary-shim comment describing migration to Admonition, or move `@deprecated` to the NoticeBar component function and include the follow-up reference if available.
28-33: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winUse
Admonition's owndescriptionandactionsprops instead of re-implementing them as children.
descriptionis deliberately omitted from the prop type and then rendered as children, which bypassesAlertDescription, andactionsis hand-rolled even thoughAdmonitionalready has a layout-awareactionsslot (packages/ui-patterns/src/Admonition/Admonition.tsx). The outerflex flex-col gap-2div also renders empty wheneveractionsis undefined.♻️ Proposed simplification
- <Admonition {...props} className={cn(props.className, 'mb-0')}> - {description} - <div className="flex flex-col gap-2"> - {actions && <div className="mt-2">{actions}</div>} - </div> - </Admonition> + <Admonition + {...props} + description={description} + actions={actions} + className={cn(props.className, 'mb-0')} + />🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/ui/NoticeBar.tsx` around lines 28 - 33, Update NoticeBar’s Admonition usage to pass description and actions through Admonition’s native props/slots instead of rendering them as children or wrapping actions manually. Restore those props in the NoticeBar prop type as needed, remove the custom actions container, and preserve the existing className merge.apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.hooks.ts (1)
96-107: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low valueCompute badge gating is inconsistent with the other two.
showComputeBillingBadgekeys offdirtyFields.computeSizewhile disk/advanced key off an actual price delta. Selecting a different compute size at the same price will render a$X → $Xbadge, unlike the other sections. Consider aligning compute on a price-delta check too.♻️ Suggested alignment
- const showComputeBillingBadge = isDirty && !!dirtyFields.computeSize && !errors.computeSize + const showComputeBillingBadge = + isDirty && + !errors.computeSize && + Number(computeSizePrice.oldPrice) !== Number(computeSizePrice.newPrice)🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.hooks.ts` around lines 96 - 107, Update showComputeBillingBadge to use the compute pricing values’ actual old-versus-new price difference, matching showDiskBillingBadge and showAdvancedBillingBadge, instead of relying on dirtyFields.computeSize. Preserve the existing isDirty and computeSize error gating so the badge only appears for a changed, valid compute price.apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx (1)
402-657: 📐 Maintainability & Code Quality | 🔵 Trivial | 🏗️ Heavy liftConsider extracting the section subtrees into co-located components.
The component is now ~625 lines with clearly separable Compute / Disk / Advanced sections plus their own notices and handlers. Extracting
ComputeSection,DiskSection, andAdvancedSection(co-located in this folder) would keep each under the size guidance and make the refs/badges wiring easier to follow.As per coding guidelines: "Split components at roughly 200–300 lines or sooner when they contain distinct UI sections, tangled conditionals, or unrelated state."
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx` around lines 402 - 657, The DiskManagementForm render is oversized and mixes distinct Compute, Disk, and Advanced UI trees. Extract these subtrees into co-located ComputeSection, DiskSection, and AdvancedSection components, moving their related notices, handlers, refs, badges, and field props while preserving existing visibility, disabled-state, and form behavior; have DiskManagementForm compose the extracted sections.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx`:
- Line 503: Correct the typo in the user-facing fallback message near
DiskManagementForm by changing “AWS cloud prov” to “AWS cloud provider,” while
preserving the rest of the deprecation and migration guidance unchanged.
- Around line 380-391: Replace the nested ternary assignment for scrollTarget in
DiskManagementForm with a flat ordered lookup or equivalent sequential
conditional logic. Preserve the existing field-error priority and ref mappings:
autoscale, storage, disk size, compute, then null when no match applies.
In `@apps/studio/components/interfaces/DiskManagement/fields/DiskSizeField.tsx`:
- Around line 164-167: Update the disk-size reset handler in DiskSizeField so it
triggers validation for both provisionedIOPS and throughput, matching the
existing onChange behavior and clearing stale throughput errors after totalSize
is reset.
---
Nitpick comments:
In `@apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx`:
- Around line 402-657: The DiskManagementForm render is oversized and mixes
distinct Compute, Disk, and Advanced UI trees. Extract these subtrees into
co-located ComputeSection, DiskSection, and AdvancedSection components, moving
their related notices, handlers, refs, badges, and field props while preserving
existing visibility, disabled-state, and form behavior; have DiskManagementForm
compose the extracted sections.
In
`@apps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.hooks.ts`:
- Around line 96-107: Update showComputeBillingBadge to use the compute pricing
values’ actual old-versus-new price difference, matching showDiskBillingBadge
and showAdvancedBillingBadge, instead of relying on dirtyFields.computeSize.
Preserve the existing isDirty and computeSize error gating so the badge only
appears for a changed, valid compute price.
In
`@apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx`:
- Around line 141-144: Rename INITIALLY_VISIBLE_COUNT to a skeleton-specific
constant such as SKELETON_PLACEHOLDER_COUNT, and update its usage in the loading
placeholder map within the compute-size field. Do not change the number of
rendered skeletons or surrounding loading behavior.
- Around line 61-68: Extract the duplicated project compute-size and entitlement
logic into a reusable useShowMicroUpgradeBadge() hook in the DiskManagement
fields folder, using the existing useSelectedProjectQuery and
useCheckEntitlements symbols. Replace both ComputeSizeField call sites with this
hook, ensuring it performs the entitlement check once per caller and preserves
the existing nano-size eligibility result.
In `@apps/studio/components/interfaces/DiskManagement/ui/NoticeBar.tsx`:
- Around line 6-17: The deprecation annotation is incorrectly attached to the
new NoticeBarProps interface. Replace the misleading JSDoc with a plain
temporary-shim comment describing migration to Admonition, or move `@deprecated`
to the NoticeBar component function and include the follow-up reference if
available.
- Around line 28-33: Update NoticeBar’s Admonition usage to pass description and
actions through Admonition’s native props/slots instead of rendering them as
children or wrapping actions manually. Restore those props in the NoticeBar prop
type as needed, remove the custom actions container, and preserve the existing
className merge.
In `@apps/studio/pages/project/`[ref]/settings/compute-and-disk.tsx:
- Line 14: Rename the AuthSettings component to ComputeAndDiskSettings in the
Compute and Disk page, updating its declaration and all references consistently
while preserving its existing behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: ed79f854-17b1-4d46-a27a-f13bc6edda5a
📒 Files selected for processing (11)
apps/studio/components/interfaces/DiskManagement/DiskManagement.test.tsapps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsxapps/studio/components/interfaces/DiskManagement/DiskManagementReviewAndSubmitDialog/DiskManagementReviewAndSubmitDialog.hooks.tsapps/studio/components/interfaces/DiskManagement/fields/AutoScaleFields.tsxapps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsxapps/studio/components/interfaces/DiskManagement/fields/DiskSizeField.tsxapps/studio/components/interfaces/DiskManagement/fields/IOPSField.tsxapps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsxapps/studio/components/interfaces/DiskManagement/fields/ThroughputField.tsxapps/studio/components/interfaces/DiskManagement/ui/NoticeBar.tsxapps/studio/pages/project/[ref]/settings/compute-and-disk.tsx
useDiskManagementReviewChanges and DiskSizeField read form values via
form.watch() and form.formState off a form that arrives as a prop. Those
subscriptions re-render the component that owns useForm, not the caller, so
the review dialog was only updating as a knock-on effect of its parent
re-rendering, and would go stale if either side were memoized.
- Subscribe locally with useWatch({ control }) and useFormState({ control }),
and consume the returned values instead of re-reading via getValues(), so
the subscribed set and the read set cannot drift apart
- Watch growthPercent, minIncrementGb and maxSizeGb, which were read but never
subscribed to
- Guard against the NaN that an empty disk size input produces, which was
propagating into the price calculations and read replica sizing
- Flatten the nested fetch-state ternary in ComputeSizeField into named,
mutually exclusive guards per the Studio conventions
Claude-Session: https://claude.ai/code/session_01RTy2gyfjnzF96p2aW56VfH
There was a problem hiding this comment.
Tested this on the staging preview and locally – everything in "How to test" checks out.
| # | Test | Result |
|---|---|---|
| 3 | Page header + Scaling / Compute / Disk / Advanced sections, plan notice under Scaling | ✅ Sections render in order, notice sits directly under the Scaling heading |
| 4 | Billing deltas in section headers + sticky review footer | ✅ $9.68 › $14.83/month in the Compute header and footer, correct on the first render. Dialog totals line up (+$99.54), Cancel reverts cleanly |
| 5 | Invalid values + submit → validation message, scroll to first invalid field | ✅ Scroll works on submit – rect.top went 1729 → 320. See note below on GP3 |
| 6 | Representative project states | |
| 7 | Responsive compute cards (2 / 3 / 4 cols) | ✅ Confirmed at 4 container widths. Worth noting these are container queries, so they key off the grid's own width, not the viewport |
Also checked the loading and error states of the compute grid by stubbing the addons request – skeletons render 6-up in the grid, and the error admonition renders full width. Neighbouring settings pages and a nav round-trip are all clean, no console errors.
A couple I couldn't get to: GP3 IOPS/throughput are gated behind isSpendCapEnabled in disableDiskInputs, which disables them regardless of compute size – so I couldn't exercise the GP3 validation path specifically. I verified the scroll-to-error mechanism itself using Max disk size instead. Read replicas, resize cooldown, read-only and Nano+PITR weren't reproducible on a test account either.
I pushed a commit (15f9611). It builds on the useWatch/useFormState change you already made in 576e531:
useWatchanduseFormStatenow take anamelist and the returned values get consumed, instead of re-reading throughgetValues()/form.formState.defaultValues. ThedefaultValuesreads were still going through theuseForm-owned Proxy, so they weren't actually subscribed in the dialog – and keeping the watch list and the read list in sync by hand had already drifted (growthPercent,minIncrementGbandmaxSizeGbwere read but never watched)- Guarded the
NaNthatvalueAsNumberproduces on an empty disk size input – it was landing in form state and flowing into the price calcs and replica sizing - Flattened the nested
isLoading ? … : addonsError ? … : (…)inComputeSizeFieldinto named guards, since it wrapped ~200 lines
Few things I noticed that predate this PR – all confirmed by stashing my changes and re-testing, so none of them are from this branch. Not blockers, but the first one might be worth a look since this PR makes it a lot more visible:
calculateComputeSizePriceonly applies the nano → micro override tooldComputeSize, never tonewComputeSize(DiskManagement.utils.ts:64-73). On a paid-plan project running nano that means any dirty form shows a phantomCompute size $9.68 › $0.00/montheven when compute wasn't touched, and the footer total drops the base compute cost. Master's footer just said "N changes" so it didn't show – with a price badge it's pretty noticeable. Worth folding into this PR or a follow-up, wdyt?- The three autoscale fields come back as
nullfrom the API but display50/4/60000as placeholders, soform.reset()on footer Cancel flips them controlled → uncontrolled and the typed value sticks in the DOM. Also means the Growth percent row can't be undone by hand – you get a50% → 50%row that won't go away. Fires a React warning each time - The Advanced autoscale fields aren't disabled on a free plan, so they're editable under the "Only available on Pro Plan and above" notice. Long-standing, but this PR drops the collapsible so they're visible without clicking now
Conflicts were both in import blocks that master's Admonition casing fix (#48374) touched and this branch had rewritten: - DiskManagementForm.tsx: kept this branch's PageSection imports; master's side was the pre-PR Collapsible/Separator/Admonition block, none of which this branch still uses - ComputeSizeField.tsx: dropped the Admonition import, unused here since the branch moved to FormMessage Master also removed the lowercase ui-patterns/admonition shim, so the two files still importing it (DiskManagementForm.sections.tsx, ui/NoticeBar.tsx) now import from ui-patterns/Admonition. Claude-Session: https://claude.ai/code/session_01RTy2gyfjnzF96p2aW56VfH
Braintrust eval report
|
## Summary This is the second step towards merging compute and disk with infrastructure. There are some usage charts on the current infrastructure page that are useful to have in the context of compute and disk settings. This branch adds two charts which give a general sense of usage and whether an upgrade needs to happen. Other data points in infrastructure can be found within observability and organisation usage. - Adds rolling seven-day Compute and Disk charts to the existing Compute and Disk page. - Shows CPU, memory, optional burstable disk IO, and disk usage split into database, WAL, and system data. - Covers loading, error, empty, warning, and critical states, retaining the 75% warning and 90% critical thresholds. - Uses a dedicated PageSection and keeps the charts in two columns from 680px. - Uses the concise primary labels Compute and Disk, removes the database report link, and removes tooltip icons from secondary metrics. - Adds transformation, summary, and component tests covering dedicated IO behavior, legacy anchors, responsive layout, rolling refetch, and tooltip behavior. ## Stack 1. #48368 2. #48369 (this PR) 3. #48370 ## How to test 1. Check out `chore/infra-compute-2-charts` and start Studio with `pnpm dev:studio`. 2. Open `/project/<ref>/settings/compute-and-disk` on a project with recent metrics. 3. Confirm the charts are in their own page section with standard spacing below the page header. 4. Confirm the Compute chart shows CPU and memory, plus disk IO when applicable, and the Disk chart splits usage into database, WAL, and system data. 5. Confirm the primary labels are Compute and Disk, secondary metrics do not show tooltip icons, and there is no Database Observability/report link. 6. Resize across 680px. The charts should remain in two columns at and above the breakpoint and stack into two rows below it. 7. Exercise loading, error, empty, warning, and critical responses with the metrics mocks or response overrides. Confirm warning styling begins at 75%, critical styling begins at 90%, and an error or empty response does not break the configuration form. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added compute and disk usage charts to the disk management interface, including metric cards for CPU, memory, disk I/O, database, WAL, and system. * Added usage status indicators, peak calculations, tooltips, and a detailed disk breakdown with placeholders when data is missing. * Added special handling for dedicated-I/O instances to hide burst-only disk I/O. * **Style** * Simplified the disk space display by removing supplemental explanatory text. * **Tests** * Added comprehensive test coverage for chart rendering, loading/error/empty states, status/peak calculations, and rolling 7-day data window behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alaister Young <[email protected]>
## Summary This is the final step in merging compute and disk with infrastructure to become a single place to manage everything. This moves everything we've done in compute and disk over to infrastructure along with redirects. - Makes Infrastructure canonical for the completed compute and disk configuration and usage charts. - Moves Service Versions to General Project Settings. - Removes the legacy Infrastructure activity implementation and constants. - Updates settings navigation, shortcuts, banners, billing links, warning CTAs, usage pages, support suggestions, and other internal entry points. - Adds the permanent `/settings/compute-and-disk` redirect, removes its Next and TanStack routes, regenerates the route tree, and updates the migration checklist. - Preserves query parameters and legacy metric anchors, including `#cpu`. ## Stack 1. #48368 2. #48369 3. #48370 (this PR) ## How to test 1. Check out `chore/infra-compute-3-cutover`. 2. Test the Next implementation with `pnpm dev:studio`, then stop it and test TanStack with `STUDIO_FRAMEWORK=tanstack pnpm dev:studio`. 3. In each implementation, open `/project/<ref>/settings/infrastructure`. Confirm the page contains the usage charts and the Scaling, Compute, Disk, and Advanced configuration sections. 4. Open `/project/<ref>/settings/general`. Confirm Service Versions appears there with its existing name, content, and styling, and no longer appears on Infrastructure. 5. Open `/project/<ref>/settings/compute-and-disk?upgrade=micro#disk`. Confirm it permanently redirects to `/project/<ref>/settings/infrastructure?upgrade=micro#disk`, preserving the query string and hash. 6. Confirm the settings menu exposes Infrastructure and no longer exposes Compute and Disk. Repeat with platform and self-hosted settings. 7. Follow representative entry points from billing usage, resource warning CTAs, upgrade banners, shortcuts, and support suggestions. Confirm they land on Infrastructure and preserve any query parameters or metric anchors such as `#cpu`. 8. Smoke-test compute and disk updates from Infrastructure, including validation, the sticky review footer, and warning/critical chart states. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Consolidated compute and disk management under the **Infrastructure** project settings page. * Added a **Service versions** section to **General** project settings. * **Bug Fixes** * Updated links and upgrade CTAs across the product to route to the correct **Infrastructure** or **Service versions** destinations. * Added permanent redirects from legacy **Compute and Disk** to **Infrastructure**, preserving query/hash. * Improved resource warning upgrade routing for compute scenarios. * **Tests** * Expanded automated coverage for **Infrastructure**, **Service versions**, redirects, and warning-link routing. * **Chores** * Updated ESLint rule baseline configuration for the studio app. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alaister Young <[email protected]>
Summary
This is a precursor to unifying "compute and disk" and "infrastructure pages". First step is just updating the existing compute and disk page to make use of standard page and form patterns.
/settings/compute-and-diskso it can be reviewed independently of the route cutover.Stack
How to test
chore/infra-compute-1-configand start Studio withpnpm dev:studio./project/<ref>/settings/compute-and-disk.Summary by CodeRabbit