compose/docs
Guillaume Lours 19fc292eb9 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>
2026-05-18 11:11:38 +02:00
..
examples feat: add stop lifecycle hook for external providers 2026-05-18 11:11:38 +02:00
reference Change verb tense in compose command documentation 2026-05-06 21:02:56 +02:00
yaml/main golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00
extension.md perf: avoid duplicate provider metadata fetch on stop 2026-05-18 11:11:38 +02:00
sdk.md Replace tabbed indentation in sdk.md 2026-01-14 07:56:25 +01:00