mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-06 15:07:58 +00:00
The deferred aggregator's Start lists its source toolsets' tools, so the concurrent fan-outs could race it against the very toolsets it depends on, yielding a spurious warning and missing deferred tools on the first turn. Mark such toolsets with tools.PeerDependent and start them in a second wave in both ensureToolSetsAreStarted (via new concurrent.ForEach) and emitToolsProgressively. emitToolsProgressively also consumes start outcomes in configuration order again instead of a barrier, so an early fast toolset is counted in the sidebar while a slow later one is still starting.