compose/pkg
Nicolas De Loof a5d9b3362d refactor(executor): let a caller drive the create and start phases itself
run() walked both phases in one call, keeping the state they share local
and unreachable. Split it into begin, which prepares the run without
dispatching anything, and a planRun whose runCreate and runStart each
dispatch their own phase, so a caller can act between the two -- the
interactive up will set up its attach/printer/monitor session there.

run() is now begin followed by both phases, so every existing caller
behaves as before. The start phase takes its hook-log listener when it is
entered, since an attached caller only has one once its session exists,
and refuses to run before a successful create phase or twice, keeping the
create-phase barrier intact for callers that drive the phases themselves.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-26 12:32:04 +01:00
..
api feat(push): add --ignore-missing to skip images not available locally 2026-10-14 21:34:38 +02:00
bridge build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
compose refactor(executor): let a caller drive the create and start phases itself 2026-10-26 12:32:04 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
e2e test(e2e): pin that down -v keeps the volumes the project does not own 2026-10-26 12:08:23 +01:00
mocks refactor(api): regenerate mocks for the split Compose interfaces 2026-10-12 12:03:29 +02:00
remote docs(registry): trim comments 2026-10-07 14:24:28 +02:00
utils fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00