perf: avoid duplicate provider metadata fetch on stop
The previous implementation fetched the provider binary path and metadata twice per service during `compose stop`: once in stop.go to gate on the `stop` capability, and again inside runPlugin via setupPluginCommand. setupPluginCommand now signals "skip" by returning (nil, nil) when the requested command is absent from the provider's metadata. stop.go calls runPlugin directly; the skip-when-unadvertised check moves into runPlugin. Addresses PR #13779 review feedback. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
G
Guillaume Lours committed
19fc292eb996e84ee5590b34d05a1195e0cc506f
Parent: 672dc14
Committed by Guillaume Lours <705411+glours@users.noreply.github.com>
on 5/18/2026, 9:11:38 AM