Open New Machine immediately with cached plan data
Merged
AU
14d ago+49+49+01234567890123456789-3-3-0123456789
Changelog
Fixed: New Machine opens immediately from a warmed machine-plan cache instead of showing a loading state for one render.
What changed
The workspace shortcut now seeds the initial sheet model with cached plan limits, size options, locks, upgrade metadata, and vCPU mappings. Cached data still receives background revalidation, and cold opens retain the loading state.
Validation
python3 scripts/verify-local.py --only swift-syntax --swift-changed
— unregistered
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
The New Machine sheet now opens immediately when a machine-plan cache is already warmed, instead of flashing a loading state for one render.
- Seeds the initial sheet model with cached plan limits, size options, locks, upgrade metadata, and vCPU mappings.
- Cached data is still revalidated in the background, and cold opens keep the loading state.
Summary by CodeRabbit
- Bug Fixes
- The new machine sheet now displays cached plan and resource limit details immediately when available, while still refreshing the information in the background. When no cached plan is available, it shows a loading state.