From c7adc6404a5029292c3ca9d58cf041449320fe56 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 5 Nov 2026 19:08:05 +0100 Subject: [PATCH] fix(deploy): the image manifests stage the mcp members MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The manifest-first COPY list predates the mcp crates: mcp-to-cli and rhema-mcp had no manifest line, so the registry cache populated without them and the source-copy build resolved their deps cold — the cache layer the staging exists to provide never covered two workspace members. Both Dockerfiles stage the pair. --- deploy/docker/claw.Dockerfile | 2 ++ deploy/docker/sandboxd.Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deploy/docker/claw.Dockerfile b/deploy/docker/claw.Dockerfile index fd093e7..8939970 100644 --- a/deploy/docker/claw.Dockerfile +++ b/deploy/docker/claw.Dockerfile @@ -10,6 +10,7 @@ WORKDIR /build # Manifests first: the registry cache this populates survives source edits. COPY Cargo.toml Cargo.lock rust-toolchain.toml ./ +COPY crates/mcp-to-cli/Cargo.toml crates/mcp-to-cli/Cargo.toml COPY crates/rhema-acp/Cargo.toml crates/rhema-acp/Cargo.toml COPY crates/rhema-agent-tools/Cargo.toml crates/rhema-agent-tools/Cargo.toml COPY crates/rhema-autonomous-agent/Cargo.toml crates/rhema-autonomous-agent/Cargo.toml @@ -22,6 +23,7 @@ COPY crates/rhema-config/Cargo.toml crates/rhema-config/Cargo.toml COPY crates/rhema-core/Cargo.toml crates/rhema-core/Cargo.toml COPY crates/rhema-identity/Cargo.toml crates/rhema-identity/Cargo.toml COPY crates/rhema-memory/Cargo.toml crates/rhema-memory/Cargo.toml +COPY crates/rhema-mcp/Cargo.toml crates/rhema-mcp/Cargo.toml COPY crates/rhema-provider/Cargo.toml crates/rhema-provider/Cargo.toml COPY crates/rhema-provider-anthropic/Cargo.toml crates/rhema-provider-anthropic/Cargo.toml COPY crates/rhema-provider-copilot/Cargo.toml crates/rhema-provider-copilot/Cargo.toml diff --git a/deploy/docker/sandboxd.Dockerfile b/deploy/docker/sandboxd.Dockerfile index 5c43fd7..90ba83d 100644 --- a/deploy/docker/sandboxd.Dockerfile +++ b/deploy/docker/sandboxd.Dockerfile @@ -12,6 +12,7 @@ WORKDIR /build # Manifests first: the registry cache this populates survives source edits. COPY Cargo.toml Cargo.lock rust-toolchain.toml ./ +COPY crates/mcp-to-cli/Cargo.toml crates/mcp-to-cli/Cargo.toml COPY crates/rhema-acp/Cargo.toml crates/rhema-acp/Cargo.toml COPY crates/rhema-agent-tools/Cargo.toml crates/rhema-agent-tools/Cargo.toml COPY crates/rhema-autonomous-agent/Cargo.toml crates/rhema-autonomous-agent/Cargo.toml @@ -24,6 +25,7 @@ COPY crates/rhema-config/Cargo.toml crates/rhema-config/Cargo.toml COPY crates/rhema-core/Cargo.toml crates/rhema-core/Cargo.toml COPY crates/rhema-identity/Cargo.toml crates/rhema-identity/Cargo.toml COPY crates/rhema-memory/Cargo.toml crates/rhema-memory/Cargo.toml +COPY crates/rhema-mcp/Cargo.toml crates/rhema-mcp/Cargo.toml COPY crates/rhema-provider/Cargo.toml crates/rhema-provider/Cargo.toml COPY crates/rhema-provider-anthropic/Cargo.toml crates/rhema-provider-anthropic/Cargo.toml COPY crates/rhema-provider-copilot/Cargo.toml crates/rhema-provider-copilot/Cargo.toml