diff --git a/Dockerfile.base b/Dockerfile.base index 5ecdcc2ef42..9faf67332ec 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -59,7 +59,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ python3=3.13.5-1 \ python3-pip=25.1.1+dfsg-1 \ python3-venv=3.13.5-1 \ - curl=8.14.1-2+deb13u3 \ + curl=8.14.1-2+deb13u4 \ git=1:2.47.3-0+deb13u1 \ gnupg=2.4.7-21+deb13u1 \ ca-certificates=20250419 \ diff --git a/agents/hermes/Dockerfile.base b/agents/hermes/Dockerfile.base index 1281cf4b7b7..02ba8dd7e94 100644 --- a/agents/hermes/Dockerfile.base +++ b/agents/hermes/Dockerfile.base @@ -44,7 +44,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ python3=3.13.5-1 \ python3-pip=25.1.1+dfsg-1 \ python3-venv=3.13.5-1 \ - curl=8.14.1-2+deb13u3 \ + curl=8.14.1-2+deb13u4 \ git=1:2.47.3-0+deb13u1 \ gnupg=2.4.7-21+deb13u1 \ ca-certificates=20250419 \ diff --git a/test/dcode-base-image-workflow.test.ts b/test/dcode-base-image-workflow.test.ts index 6e3dc005898..03a5987929e 100644 --- a/test/dcode-base-image-workflow.test.ts +++ b/test/dcode-base-image-workflow.test.ts @@ -63,7 +63,22 @@ const publishers = [ }, ] as const; +function pinnedAptVersion(dockerfile: string, packageName: string): string { + const source = fs.readFileSync(path.join(repoRoot, dockerfile), "utf8"); + const version = source.match(new RegExp(`^\\s*${packageName}=([^\\s\\\\]+)`, "m"))?.[1]; + expect(version, `${dockerfile} must pin ${packageName}`).toBeDefined(); + return version as string; +} + describe("Deep Agents Code base-image publication", () => { + it("keeps shared apt package pins aligned across all sandbox base images (#6679)", () => { + const dockerfiles = publishers.map(({ dockerfile }) => dockerfile); + const curlVersions = dockerfiles.map((dockerfile) => pinnedAptVersion(dockerfile, "curl")); + + expect(curlVersions).toEqual(expect.arrayContaining(["8.14.1-2+deb13u4"])); + expect(new Set(curlVersions)).toEqual(new Set([curlVersions[0]])); + }); + it("triggers its publisher whenever the DCode base inputs change (#6456)", () => { expect(workflow.on?.push?.paths).toEqual( expect.arrayContaining([ diff --git a/vitest.config.ts b/vitest.config.ts index dd6a7a785c6..4b29bdbe293 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -93,7 +93,13 @@ export default defineConfig({ // 7 GiB CI runner. The canonical local full suite instead runs this // project as a bounded four-worker phase after the other projects. ...integrationProjectScheduling, - env: { NODE_OPTIONS: sourceNodeOptions }, + env: { + NODE_OPTIONS: sourceNodeOptions, + // Integration fixtures exercise onboarding against controlled fake + // Docker state. Keep a base-image Dockerfile change in the PR from + // redirecting those fixtures into the real local-build guard. + NEMOCLAW_SANDBOX_BASE_IMAGE_REF: "ghcr.io/nvidia/nemoclaw/sandbox-base:latest", + }, include: ["test/**/*.test.{js,ts}"], exclude: [ "**/node_modules/**",