From 4a26e7e0e1aa894edcc8e97e88777de8b10b93c6 Mon Sep 17 00:00:00 2001 From: Chengjie Wang Date: Sat, 11 Jul 2026 23:53:22 +0800 Subject: [PATCH 1/3] fix(images): refresh shared curl pin Signed-off-by: Chengjie Wang --- Dockerfile.base | 2 +- agents/hermes/Dockerfile.base | 2 +- agents/langchain-deepagents-code/Dockerfile.base | 2 +- test/dcode-base-image-workflow.test.ts | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) 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/agents/langchain-deepagents-code/Dockerfile.base b/agents/langchain-deepagents-code/Dockerfile.base index 43b3df0b569..15259db35ee 100644 --- a/agents/langchain-deepagents-code/Dockerfile.base +++ b/agents/langchain-deepagents-code/Dockerfile.base @@ -17,7 +17,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 \ ca-certificates=20250419 \ iproute2=6.15.0-1 \ diff --git a/test/dcode-base-image-workflow.test.ts b/test/dcode-base-image-workflow.test.ts index 6e3dc005898..eaa73f56822 100644 --- a/test/dcode-base-image-workflow.test.ts +++ b/test/dcode-base-image-workflow.test.ts @@ -63,7 +63,21 @@ 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(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([ From fad5cd519cff1938c654922a843f5d6604da136e Mon Sep 17 00:00:00 2001 From: Chengjie Wang Date: Sun, 12 Jul 2026 00:41:56 +0800 Subject: [PATCH 2/3] test(images): pin expected curl package version --- test/dcode-base-image-workflow.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dcode-base-image-workflow.test.ts b/test/dcode-base-image-workflow.test.ts index eaa73f56822..03a5987929e 100644 --- a/test/dcode-base-image-workflow.test.ts +++ b/test/dcode-base-image-workflow.test.ts @@ -75,6 +75,7 @@ describe("Deep Agents Code base-image publication", () => { 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]])); }); From a902ca509326686a8e2b4d0724d2caf9014af3dd Mon Sep 17 00:00:00 2001 From: Julie Yaunches Date: Sat, 11 Jul 2026 13:23:27 -0400 Subject: [PATCH 3/3] test(onboard): isolate base image fixture resolution Signed-off-by: Julie Yaunches --- vitest.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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/**",