feat(agents): человекочитаемые вердикты аналитика, ревьюера, dev и постмортема в панель «Логи»
Some checks failed
CI / test (push) Failing after 1m55s
CI / build-and-package (amd64, linux) (push) Failing after 1m7s
CI / build-and-package (amd64, windows) (push) Successful in 29s

This commit is contained in:
ki.sagidullin
2026-08-24 10:33:45 +05:00
parent c9ab753c1e
commit 94521488b6
6 changed files with 196 additions and 5 deletions

View File

@@ -186,6 +186,7 @@ func (w *Worker) postMortem(ctx context.Context, task *storage.Task) {
output = "(постмортем-агент не вернул текст)"
}
}
log.Printf("worker: task %d: постмортем: %s", task.ID, truncateTrace(output, 2000))
w.finalizeTrace(ctx, traceID, status, output)
if res.RC == 0 && output != "" {