You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Omi desktop backend] get_agent_status: VM deleted in GCP but Firestore record still exists is not handled #6891
When a GCE VM is hard-deleted from GCP (via console, cleanup script, billing event, etc.) while its Firestore record still exists, get_agent_status returns stale data (e.g. Ready + old IP) instead of indicating the VM is gone.
Root cause
check_gce_instance_status doesn't check the HTTP status code before parsing the response body. A GCP 404 (instance not found) gets parsed as Ok("UNKNOWN"), which falls into the catch-all debug log arm and is silently ignored.
Impact
The user receives a stale Ready status with an invalid IP, and cannot re-provision because Firestore still holds the old record. Manual Firestore cleanup is required to recover.
Activity
fix: handle VM deleted in GCP while Firestore record still exists (#6891
fix: handle VM deleted in GCP while Firestore record still exists (#6891
fix: close account deletion to re-login and Agent VM broken-state lea…
aryanorastar commentedon Sep 20, 2026
Closing as already fixed on current main.
#6892 merged (NOT_FOUND + stale Firestore). current main get_agent_status is now a 200/null stub (VM retirement) — original stale-Ready path is gone.