Phase2
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 10s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 13s

This commit is contained in:
smueller
2026-06-26 12:01:25 +02:00
parent 58961000eb
commit c4077d4673
93 changed files with 4099 additions and 165 deletions

View File

@@ -22,7 +22,13 @@ func main() {
log = log.With("node_id", cfg.NodeID, "component", "node-agent")
if err := agent.New(cfg, log).Run(context.Background()); err != nil {
a, err := agent.New(cfg, log)
if err != nil {
log.Error("agent init error", "error", err)
os.Exit(1)
}
if err := a.Run(context.Background()); err != nil {
log.Error("agent exited with error", "error", err)
os.Exit(1)
}