Private
Public Access
0
0
Files
manual_slop/tests
ed fb7014cd63 refactor(ai_client): migrate cleanup + reset_session cache.delete to helper (Phase 11 sites 3+4)
Sites L432 (cleanup) and L450 (reset_session) had:
    try: _gemini_client.caches.delete(name=_gemini_cache.name)
    except Exception: pass

This is bare 'except: pass' = INTERNAL_SILENT_SWALLOW violation (logging is NOT
a drain; 'pass' is the worst form of silent recovery).

Migration: use existing _delete_gemini_cache_result() helper (added Phase 10).
The helper returns Result[None]; on SDK error logs a warning to comms.
The caller ignores the Result (cleanup is best-effort).

Audit: ai_client SS 11 -> 9.
2026-06-20 13:57:27 -04:00
..