Backend: - Seed OCI classification from previous state so containers never 'downgrade' to LXC if config fetching intermittently fails - Prevent type regression in recordGuestSnapshot when OCI was previously detected - Move metrics zeroing before snapshot recording for cleaner flow Frontend: - Add isOCIContainer() memo that checks both type and isOci flag - Use isOCI helper in Dashboard.tsx for AI context building - Include oci-container type in useResources container conversion - Preserve isOci and osTemplate fields through legacy conversion This ensures OCI containers retain their classification even when Proxmox API permissions or transient errors prevent config reads. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| useBreakpoint.ts | ||
| useColumnVisibility.ts | ||
| useDebouncedValue.ts | ||
| usePersistentSignal.ts | ||
| useResources.ts | ||