compose/pkg
Nicolas De Loof 6b419bc7a1 fix(hash): repair the tests after #14093 and #14215 merged in reverse order
The plan documented in both PRs had #14215 land first, then #14093's
compose-go bump delete the transient TestServiceHashContinuity. Merged
in the opposite order, main's pkg/compose tests no longer even compile:
richServiceFixture sets fields the container-spec layering turned into
promoted embeds (struct literals require go1.27 for that), and once
compilable two tests fail by construction.

- richServiceFixture is built by assignment;
- TestServiceHashContinuity is deleted, exactly as its own comment
  prescribes: the layered compose-go is the reorder it existed to
  outlive, its proof duty (pinned == historical bytes) is done, and
  TestHashGoldenValues carries the continuity contract alone — it
  PASSES on the layered compose-go, confirming the pinning preserved
  every historical hash through the layering;
- pull_refresh_after, newly exposed at the service root, is appended
  to serviceHashKeyOrder: the fallback already emitted it in that
  exact position, so no hash moves — listing it only freezes the
  layout and satisfies the coverage walker.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-09-22 11:03:06 +02:00
..
api build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
bridge build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
compose fix(hash): repair the tests after #14093 and #14215 merged in reverse order 2026-09-22 11:03:06 +02:00
dryrun fix(dry-run): commit no longer creates a real image; the interception set becomes declarative 2026-09-16 13:44:21 +02:00
e2e test(e2e): force --build so a stale image cannot skip the tested path 2026-09-21 18:01:16 +02:00
mocks PRIVATE_PORT optional for docker compose port 2026-09-11 11:35:18 +02:00
remote golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +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