feat(backend): add root cause calculation
ci-agent / build (push) Has been cancelled

This commit is contained in:
2026-04-05 08:19:34 +03:00
parent c6c46aee68
commit ad9d567d2c
2 changed files with 217 additions and 7 deletions
+2 -1
View File
@@ -110,7 +110,7 @@ func main() {
if graphPath == "" {
graphPath = "/etc/hellreign/services.yaml"
}
graphHandlers := handlers.NewGraphHandlers(graphPath)
graphHandlers := handlers.NewGraphHandlers(graphPath, coll)
agents := handlers.NewAgentsGroup(h, coll)
auth := handlers.AuthGroup{Handlers: h}
@@ -226,6 +226,7 @@ func main() {
graphGroup.PUT("", graphHandlers.UpdateYAML)
graphGroup.GET("/order", graphHandlers.StartupOrder)
graphGroup.GET("/cycle", graphHandlers.CycleCheck)
graphGroup.GET("/failure", graphHandlers.GetFailureRootCause)
}
// Agent registration