Found live: `run` against lxc:caddy failed with "missing pve_id" even though pve_id=121 was present — caddy is an inventory-seeded LXC with no `host` attribute at all (only pct_create-provisioned LXCs set one). The combined query scanned attributes->>'host' (SQL NULL) into a plain Go string, which errors the whole Scan — including the pve_id column that scanned fine. COALESCE the host column to '' so a missing host attribute degrades to the documented default instead of failing the whole resolution. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
79 KiB
79 KiB