Skip to content

Commit a37edf1

Browse files
sjarmakclaude
andcommitted
fix: rebuild 9 more Dockerfile.sg_only with correct ccb-repo base images
These build/fix tasks had broken sg_only Dockerfiles using generic base images (ubuntu:22.04, eclipse-temurin, golang, python:3.11-slim) instead of the pre-built ccb-repo-* bases. Without the correct base, MCP runs have no compiler, no source code, and no /repo_full backup — causing verifier compilation failures while baseline passes. Fixed tasks: - k8s-dra-scheduler-event-fix-001 (golang → ccb-repo-k8s-11602f08) - camel-fix-protocol-feat-001 (eclipse-temurin → ccb-repo-camel-1006f047) - flink-pricing-window-feat-001 (eclipse-temurin → ccb-repo-flink-0cc95fcc) - flipt-dep-refactor-001 (ubuntu → ccb-repo-flipt-3d5a345f) - kafka-batch-accumulator-refac-001 (eclipse-temurin → ccb-repo-kafka-0753c489) - strata-cds-tranche-feat-001 (eclipse-temurin → ccb-repo-strata-66225ca9) - strata-fx-european-refac-001 (eclipse-temurin → ccb-repo-strata-66225ca9) - django-modelchoice-fk-fix-001 (python:3.11-slim → ccb-repo-django-674eda1c) - flipt-eval-latency-fix-001 (ubuntu → ccb-repo-flipt-3d5a345f) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8fa8689 commit a37edf1

File tree

9 files changed

+141
-200
lines changed

9 files changed

+141
-200
lines changed
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# camel-fix-protocol-feat-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM eclipse-temurin:17-jdk
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-camel-1006f047
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.java" -o -name "*.xml" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.properties" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.gradle" -o -name "*.kt" \
13+
-o -name "*.scala" -o -name "*.groovy" -o -name "*.py" \
14+
\) ! -path "*/.git/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# flink-pricing-window-feat-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM eclipse-temurin:17-jdk
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-flink-0cc95fcc
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.java" -o -name "*.xml" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.properties" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.gradle" -o -name "*.kt" \
13+
-o -name "*.scala" -o -name "*.groovy" -o -name "*.py" \
14+
\) ! -path "*/.git/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
11
# flipt-dep-refactor-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM ubuntu:22.04
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-flipt-3d5a345f
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.go" -o -name "*.py" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.proto" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.cfg" \
13+
\) ! -path "*/.git/*" ! -path "*/vendor/*" -exec truncate -s 0 {} \;
14+
# Recommit truncated state so git history cannot recover full files.
15+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
16+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1417

1518
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
# Mark sg_only mode so verifiers can skip local-path checks
25-
RUN touch /tmp/.sg_only_mode
26-
2719
ENTRYPOINT []
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# kafka-batch-accumulator-refac-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM eclipse-temurin:17-jdk
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-kafka-0753c489
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.java" -o -name "*.xml" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.properties" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.gradle" -o -name "*.kt" \
13+
-o -name "*.scala" -o -name "*.groovy" -o -name "*.py" \
14+
\) ! -path "*/.git/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# strata-cds-tranche-feat-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM eclipse-temurin:17-jdk
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-strata-66225ca9
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.java" -o -name "*.xml" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.properties" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.gradle" -o -name "*.kt" \
13+
-o -name "*.scala" -o -name "*.groovy" -o -name "*.py" \
14+
\) ! -path "*/.git/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# strata-fx-european-refac-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM eclipse-temurin:17-jdk
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-strata-66225ca9
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.java" -o -name "*.xml" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.properties" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.gradle" -o -name "*.kt" \
13+
-o -name "*.scala" -o -name "*.groovy" -o -name "*.py" \
14+
\) ! -path "*/.git/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
# django-modelchoice-fk-fix-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM python:3.11-slim
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-django-674eda1c
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.py" -o -name "*.html" -o -name "*.css" -o -name "*.js" \
11+
-o -name "*.yaml" -o -name "*.yml" -o -name "*.json" -o -name "*.cfg" \
12+
-o -name "*.ini" -o -name "*.sh" -o -name "*.md" -o -name "*.txt" \
13+
-o -name "*.toml" -o -name "*.rst" \
14+
\) ! -path "*/.git/*" ! -path "*/site-packages/*" -exec truncate -s 0 {} \;
15+
# Recommit truncated state so git history cannot recover full files.
16+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
17+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1418

1519
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2620
ENTRYPOINT []
Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
11
# flipt-eval-latency-fix-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM ubuntu:22.04
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-flipt-3d5a345f
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.go" -o -name "*.py" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.proto" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.cfg" \
13+
\) ! -path "*/.git/*" ! -path "*/vendor/*" -exec truncate -s 0 {} \;
14+
# Recommit truncated state so git history cannot recover full files.
15+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
16+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1417

1518
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
# Mark sg_only mode so verifiers can skip local-path checks
25-
RUN touch /tmp/.sg_only_mode
26-
2719
ENTRYPOINT []
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
# k8s-dra-scheduler-event-fix-001 — sg_only_env variant
2-
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3-
4-
FROM golang:1.23-bookworm
5-
6-
ENV DEBIAN_FRONTEND=noninteractive
7-
8-
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
git \
10-
ca-certificates \
11-
python3 \
12-
curl \
13-
&& rm -rf /var/lib/apt/lists/*
2+
# Source files truncated so agent must use Sourcegraph MCP for code access.
3+
# Verifier wrapper restores full repo before running tests.
4+
5+
FROM ccb-repo-k8s-11602f08
6+
7+
# --- sg_only_env: back up full repo, then truncate source ---
8+
RUN cp -a /workspace /repo_full
9+
RUN find /workspace -type f \( \
10+
-name "*.go" -o -name "*.py" -o -name "*.yaml" -o -name "*.yml" \
11+
-o -name "*.json" -o -name "*.proto" -o -name "*.sh" -o -name "*.md" \
12+
-o -name "*.txt" -o -name "*.toml" -o -name "*.cfg" \
13+
\) ! -path "*/.git/*" ! -path "*/vendor/*" -exec truncate -s 0 {} \;
14+
# Recommit truncated state so git history cannot recover full files.
15+
RUN cd /workspace && git add -A && git commit -m "sg_only truncation" --allow-empty --quiet
16+
RUN touch /tmp/.sg_only_mode && echo '/workspace' > /tmp/.sg_only_workdir
1417

1518
WORKDIR /workspace
16-
17-
# Empty git repo so agent can commit work
18-
RUN git init && \
19-
git config user.email "agent@example.com" && \
20-
git config user.name "Agent"
21-
22-
RUN mkdir -p /logs/agent /logs/verifier
23-
24-
RUN touch /tmp/.sg_only_mode
25-
2619
ENTRYPOINT []

0 commit comments

Comments
 (0)