compose/pkg
Nicolas De Loof b601c0721f test(up): pin the monitor and the Create phase of interactive up, fix stale comments
Tests:
- the monitor goroutine runs before the Start phase: a fake container start
  holds until the events subscription is opened, so a Start phase run before
  it would show;
- an interruption met by the Create phase ends the up with it and sets up no
  session: the phase runs on the caller's context.
Both were found by mutation to survive the existing tests.

Comments and scenarios:
- useAPISocket's guard says what a second pass really does: duplicate volume
  and config entries that also change the service's config hash;
- the interactive up's doc says an early interruption starts nothing, the
  readDaemonTime's that callers decide how to report an interruption, and a
  test comment on the listener no longer announces what is already wired;
- the use_api_socket scenario links docker/compose#14386, as SCENARIO.md asks
  of a regression test, and the hook-runner scenario drops an output assertion
  its ExitCode already covers.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-26 16:28:51 +01:00
..
api docs(api): StartOptions.Wait is rejected together with Attach 2026-10-26 16:28:51 +01:00
bridge build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
compose test(up): pin the monitor and the Create phase of interactive up, fix stale comments 2026-10-26 16:28:51 +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(up): pin the monitor and the Create phase of interactive up, fix stale comments 2026-10-26 16:28:51 +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