compose/internal
Guillaume Lours 6430a45806 refactor(registry): pin the resolver credentials, build it once
The credentials assertion in TestImageDigestResolverUsesDistributionDigest
was vacuous: EncodedAuth encodes even an empty AuthConfig, so
EncodedRegistryAuth != "" always holds. Decode the header and check the
username and password instead.

Build the digest resolver once in generateImageDigestsOverride rather than
once for the services and once for the jobs.

Move the "registry descriptor digest, not the local content digest"
rationale from the pkg/compose wrapper onto registry.ImageDigestResolver,
where the code now lives.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-11-16 16:59:39 +01:00
..
build refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
concurrency refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
confighash refactor: move the config-hash helpers to internal/confighash 2026-10-29 08:20:15 +01:00
containerops refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
depgraph refactor(compose): move the dependency graph to internal/depgraph 2026-11-05 11:42:19 +01:00
desktop refactor(desktop): fetch the Desktop API answers with one generic helper 2026-10-29 11:59:43 +01:00
devwatch refactor(devwatch): merge Rebuild and its pass-through rebuild 2026-11-16 15:15:03 +01:00
e2e refactor(e2e): move the e2e framework and tests out of pkg/ 2026-11-16 15:21:04 +01:00
engine refactor(compose): state the engine of the extracted packages once 2026-10-29 11:59:43 +01:00
envresolver refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
images fix(down): select images before teardown 2026-11-05 11:10:26 +01:00
inspect test(events): use t.Context() in stream error tests 2026-11-03 14:25:45 +01:00
locker build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
logstream refactor(compose): move logs and attach to internal/logstream 2026-11-04 09:40:04 +01:00
memnet golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
naming refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
oci fix(oci): verify the manifests fetched against their digest 2026-11-11 08:52:55 +01:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
planning refactor(compose): move the plan types to internal/planning 2026-11-16 14:58:08 +01:00
progress refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
projectloader fix(config): warn about ignored uid/gid/mode at creation, not at load 2026-11-05 09:47:51 +01:00
provider refactor(compose): use a single event processor that discards events 2026-10-29 11:59:43 +01:00
publish refactor(registry): pin the resolver credentials, build it once 2026-11-16 16:59:39 +01:00
registry refactor(registry): pin the resolver credentials, build it once 2026-11-16 16:59:39 +01:00
relay refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
sync refactor: add internal/concurrency for the bounded errgroup helpers 2026-10-29 10:18:58 +01:00
tracing refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00