Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion agents/hermes/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion agents/langchain-deepagents-code/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
14 changes: 14 additions & 0 deletions test/dcode-base-image-workflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]]));
});
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

it("triggers its publisher whenever the DCode base inputs change (#6456)", () => {
expect(workflow.on?.push?.paths).toEqual(
expect.arrayContaining([
Expand Down
Loading