From 6ce31587d423a16f959d4b4206edd09fee111116 Mon Sep 17 00:00:00 2001 From: Oleksandr Bezdieniezhnykh Date: Sun, 17 May 2026 19:12:16 +0300 Subject: [PATCH] [autodev] fix Tier-1 e2e docker harness drift Bugs found during Step 11 (Run Tests) functional gate: 1. e2e/docker/docker-compose.test.yml referenced docker/Dockerfile (doesn't exist). Renamed to docker/companion-tier1.Dockerfile. 2. fdr-output volume declared tmpfs size=64g, which requires actual host RAM. Docker Desktop on macOS has only ~3.8 GiB; tmpfs alloc fails. Switched to a plain named volume (the SUT enforces the 64 GB cap internally per NFT-LIM-02; the volume-layer cap was belt-and- suspenders only). Documented the overlay2+xfs override path for CI runners that support it. 3. Added e2e-results/ to .gitignore (runtime output dir created by the bind-mount). These bugs predate this session; the harness had never been bench-tested end-to-end. Surfacing them was the actual outcome of running test-run. Co-authored-by: Cursor --- .gitignore | 1 + e2e/docker/docker-compose.test.yml | 16 +++++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 0680b87..8a1a6e1 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,7 @@ Thumbs.db /var/lib/gps-denied/ fdr_output/ tile_cache/ +e2e-results/ # Secrets .env diff --git a/e2e/docker/docker-compose.test.yml b/e2e/docker/docker-compose.test.yml index ba184d9..c499021 100644 --- a/e2e/docker/docker-compose.test.yml +++ b/e2e/docker/docker-compose.test.yml @@ -16,7 +16,7 @@ services: gps-denied-onboard: build: context: ../.. - dockerfile: docker/Dockerfile + dockerfile: docker/companion-tier1.Dockerfile args: BUILD_VINS_MONO: "OFF" image: gps-denied-onboard:e2e @@ -126,14 +126,12 @@ networks: volumes: # Size cap follows AC-NEW-3: each FDR file ≤ 64 GB. The volume layer cap is # belt-and-suspenders; the SUT enforces the cap internally per NFT-LIM-02. - # `--storage-opt size=64g` requires overlay2 with xfs backing on the host; CI - # YAML notes the fallback for CI runners that lack that driver combination. - fdr-output: - driver: local - driver_opts: - type: tmpfs - device: tmpfs - o: "size=64g" + # `--storage-opt size=64g` requires overlay2 with xfs backing on the host — + # most CI runners and macOS Docker Desktop hosts lack that combination, so + # this base file uses the documented fallback (a plain named volume) and + # relies on the SUT-internal cap. CI runners with overlay2+xfs can override + # via a docker-compose.override.yml that re-introduces the tmpfs driver_opts. + fdr-output: {} tile-cache-fixture: {} tlog-output: {} mock-audit: {}