Validate and integrate fleet intelligence features
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Fix atlas skip merge under lock, tolerate post-auth WS frames in tests,
and harden test-suite npm invocation on Windows.
This commit is contained in:
AetherForge
2026-06-07 02:49:35 -07:00
parent 1a5665d908
commit 5c6913dc5f
4 changed files with 27 additions and 6 deletions

View File

@@ -80,8 +80,11 @@ func authAgentConn(t *testing.T, conn *websocket.Conn, payload map[string]interf
if err := conn.ReadJSON(&resp); err != nil {
t.Fatalf("read auth_response: %v", err)
}
if resp.Type == "auth_response" {
switch resp.Type {
case "auth_response":
return resp
case "clearance_update", "command", "policy_update", "new_job", "adaptive_strategy_update":
continue
}
}
t.Fatal("timed out waiting for auth_response")