🔴 Severidade: CRÍTICA — Auto-Healing QA
Stack Trace
TypeError: undefined is not a function
at Object.complete (evalmachine.<anonymous>:1:1994)
at Object.execute (evalmachine.<anonymous>:1:10293)
at async Object.executeTool (evalmachine.<anonymous>:1:5386)
at async _executeToolWithDelegate (evalmachine.<anonymous>:1:44107)
at async GeminiLiveSession (evalmachine.<anonymous>:1:33476)
Frequência
- 2026-05-07: 6x | 2026-05-10: 6x | Total histórico: 22
Root Cause
Cascata após supabase_query retornar 404 (tabelas yampi_orders / public.orders inexistentes). O result fica null/undefined → result.complete() explode.
Fix
if (typeof result?.complete === "function") {
await result.complete(toolOutput);
} else {
logger.warn("[executeTool] result.complete não é função", { toolOutput });
}
Impacto
- UNHANDLED REJECTION no synapses-api
- Sessões GeminiLive derrubadas silenciosamente
- Versão: v1.9.66
Auto-detected QA Auto-Healing · 2026-05-11
🔴 Severidade: CRÍTICA — Auto-Healing QA
Stack Trace
Frequência
Root Cause
Cascata após
supabase_queryretornar 404 (tabelasyampi_orders/public.ordersinexistentes). Oresultfica null/undefined →result.complete()explode.Fix
Impacto
Auto-detected QA Auto-Healing · 2026-05-11