Build modules: capacity and build hours are this node's own values, no default names a node; the Go test tool hands the check's node names to the tests

This commit is contained in:
2026-10-28 18:15:33 +01:00
parent 00613b438c
commit e389e770d9
13 changed files with 66 additions and 25 deletions
@@ -20,7 +20,7 @@ func (m *Module) cpuLimits() buildcpu.Limits {
case m.Capacity != nil:
slots = m.Capacity()
case m.Settings != "":
slots = buildstep.NodeCapacity(m.Settings, buildstep.DefaultCapacities, m.Node, nil)()
slots = buildstep.NodeCapacity(m.Settings, m.Node, nil)()
}
return buildstep.NodeLimits(slots)
}