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. |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| converters.go | ||
| converters_test.go | ||
| models.go | ||
| models_frontend.go | ||
| state_docker_test.go | ||
| state_host_test.go | ||
| state_snapshot.go | ||