compose/pkg
Nicolas De Loof e6500d1046 fix(e2e): verify scale propagation and relay singularity against real state
A Copilot review finding on TestProviderScaleReachesTheProvider: the
scenario left both central guarantees unobserved -- the second `compose
scale` call only checked a successful exit, and no relay container ever
existed to assert singularity against (PROVIDER_DEMO_ENDPOINT was unset).
It would have passed even if a later scale silently lost the requested
value, or if relay creation mishandled it.

The scenario now enables endpoint publication (as in
TestProviderPublishEndpoint) so a real relay container exists, includes
the dependent service in each scale call's targets so it is (re)created
in the same call, and asserts against real state per the project's own
e2e conventions (pkg/e2e/SCENARIO.md: state-based checks over output
matching) -- ContainerEnv for the exact value the provider received,
ServiceScale("db", 1) for the relay staying a single container across
two different scale requests.

Verified: the full provider e2e subset re-run clean against a locally
built binary, golangci-lint clean.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-16 10:22:24 +01:00
..
api chore: address the review notes left 2026-11-11 20:43:01 +01:00
bridge refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
compose fix(docs): surface a provider-backed service's scale over its control channel 2026-11-16 10:22:24 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
e2e fix(e2e): verify scale propagation and relay singularity against real state 2026-11-16 10:22:24 +01:00
mocks refactor(api): regenerate mocks for the split Compose interfaces 2026-10-12 12:03:29 +02:00
remote fix(oci): tell a null "manifests" from a list, and report a host failure as such 2026-11-12 10:43:27 +01:00
utils
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00