hub v0.181.0 (not deployed): root files are 'behind' only when the files differ (R-1392, decision 304); Go 1.27.4 (R-1391)
gates / gates (push) Successful in 1m55s

This commit is contained in:
admin committed 2026-11-14 10:11:31 +01:00
1 parent 561a4d98e9
commit 83316fc986
15 files changed
+442 -11

No files matched your search

+2 -1
View File
@@ -29,6 +29,7 @@ type systemInput struct {
Names, Controllers, Agents map[string]string // by host id
KernelLines map[string]osupdates.KernelLine
BundleSince, AgentSince map[string]time.Time
BundleSame map[string]bool // R-1392: the box's bundle = the vouched files under another label
Stale, Reboot, NotCov time.Duration
BundleAfter, AgentAfter time.Duration
VouchedAgent, VouchedBundle string
@@ -51,7 +52,7 @@ func buildSystemPage(in systemInput) map[string]interface{} {
for i := range rows {
id := rows[i].HostID
rows[i].KernelDefault, rows[i].KernelStep = kernelCells(in.Facts[id], in.KernelLines[id], in.Now)
rows[i].Bundle = bundleCell(in.Facts[id], in.VouchedAgent, in.VouchedBundle, in.BundleSince[id], in.BundleAfter, in.Now)
rows[i].Bundle = bundleCell(in.Facts[id], in.VouchedAgent, in.VouchedBundle, in.BundleSame[id], in.BundleSince[id], in.BundleAfter, in.Now)
rows[i].Agent = agentCell(in.Agents[id], in.VouchedAgent, in.AgentSince[id], in.AgentAfter, in.Now)
rows[i].Controller = unknownCell(in.Controllers[id])
summariseRow(&rows[i], latest)