Skip to content

Commit a0ea3ca

Browse files
sjarmakclaude
andcommitted
fix: use compact single-line JSON in clone manifests to avoid Docker parse errors
Multi-line RUN echo with JSON keys (e.g. "workdir":) on their own line gets misinterpreted as unknown Dockerfile instructions by Docker's parser. Switch from json.dumps(indent=2) to json.dumps(separators=(",",":")) so the entire manifest fits on one RUN echo line. Verified: 8/8 SDLC suite smoke tests pass, plus code-review and multi-repo subcategory tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f5fc73 commit a0ea3ca

File tree

129 files changed

+135
-1382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+135
-1382
lines changed

benchmarks/ccb_build/camel-fix-protocol-feat-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@ RUN git init && \
2626
RUN mkdir -p /logs/agent /logs/verifier
2727

2828
# Clone manifest for verifier (clone-at-verify strategy)
29-
RUN echo '{
30-
"workdir": "/workspace",
31-
"repos": [
32-
{
33-
"mirror": "sg-benchmarks/camel--1006f047",
34-
"target_dir": "."
35-
}
36-
]
37-
}' > /tmp/.sg_only_clone_manifest.json
29+
RUN echo '{"workdir":"/workspace","repos":[{"mirror":"sg-benchmarks/camel--1006f047","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3830

3931
# Mark sg_only mode
4032
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/cgen-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ RUN git init && \
2525
RUN mkdir -p /logs/agent /logs/verifier
2626

2727
# Clone manifest for verifier (clone-at-verify strategy)
28-
RUN echo '{
29-
"workdir": "/app/repo",
30-
"repos": [
31-
{
32-
"mirror": "sg-benchmarks/cgen--dibench",
33-
"target_dir": "."
34-
}
35-
]
36-
}' > /tmp/.sg_only_clone_manifest.json
28+
RUN echo '{"workdir":"/app/repo","repos":[{"mirror":"sg-benchmarks/cgen--dibench","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3729

3830
# Mark sg_only mode
3931
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/codecoverage-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ RUN git init && \
2525
RUN mkdir -p /logs/agent /logs/verifier
2626

2727
# Clone manifest for verifier (clone-at-verify strategy)
28-
RUN echo '{
29-
"workdir": "/app/repo",
30-
"repos": [
31-
{
32-
"mirror": "sg-benchmarks/CodeCoverageSummary--dibench",
33-
"target_dir": "."
34-
}
35-
]
36-
}' > /tmp/.sg_only_clone_manifest.json
28+
RUN echo '{"workdir":"/app/repo","repos":[{"mirror":"sg-benchmarks/CodeCoverageSummary--dibench","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3729

3830
# Mark sg_only mode
3931
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/dotenv-expand-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ RUN git init && \
3131
RUN mkdir -p /logs/agent /logs/verifier
3232

3333
# Clone manifest for verifier (clone-at-verify strategy)
34-
RUN echo '{
35-
"workdir": "/app/repo",
36-
"repos": [
37-
{
38-
"mirror": "sg-benchmarks/dotenv-expand--dibench",
39-
"target_dir": "."
40-
}
41-
]
42-
}' > /tmp/.sg_only_clone_manifest.json
34+
RUN echo '{"workdir":"/app/repo","repos":[{"mirror":"sg-benchmarks/dotenv-expand--dibench","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
4335

4436
# Mark sg_only mode
4537
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/dotnetkoans-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ RUN git init && \
2525
RUN mkdir -p /logs/agent /logs/verifier
2626

2727
# Clone manifest for verifier (clone-at-verify strategy)
28-
RUN echo '{
29-
"workdir": "/app/repo",
30-
"repos": [
31-
{
32-
"mirror": "sg-benchmarks/DotNetKoans--dibench",
33-
"target_dir": "."
34-
}
35-
]
36-
}' > /tmp/.sg_only_clone_manifest.json
28+
RUN echo '{"workdir":"/app/repo","repos":[{"mirror":"sg-benchmarks/DotNetKoans--dibench","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3729

3830
# Mark sg_only mode
3931
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/envoy-grpc-server-impl-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,7 @@ RUN git init && \
2424
RUN mkdir -p /logs/agent /logs/verifier
2525

2626
# Clone manifest for verifier (clone-at-verify strategy)
27-
RUN echo '{
28-
"workdir": "/workspace",
29-
"repos": [
30-
{
31-
"mirror": "sg-benchmarks/go-control-plane--71637ad6",
32-
"target_dir": "go-control-plane"
33-
},
34-
{
35-
"mirror": "sg-benchmarks/istio--2300e245",
36-
"target_dir": "istio"
37-
},
38-
{
39-
"mirror": "sg-benchmarks/emissary--3bbdbe0f",
40-
"target_dir": "emissary"
41-
}
42-
]
43-
}' > /tmp/.sg_only_clone_manifest.json
27+
RUN echo '{"workdir":"/workspace","repos":[{"mirror":"sg-benchmarks/go-control-plane--71637ad6","target_dir":"go-control-plane"},{"mirror":"sg-benchmarks/istio--2300e245","target_dir":"istio"},{"mirror":"sg-benchmarks/emissary--3bbdbe0f","target_dir":"emissary"}]}' > /tmp/.sg_only_clone_manifest.json
4428

4529
# Mark sg_only mode
4630
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/eslint-markdown-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ RUN git init && \
3131
RUN mkdir -p /logs/agent /logs/verifier
3232

3333
# Clone manifest for verifier (clone-at-verify strategy)
34-
RUN echo '{
35-
"workdir": "/app/repo",
36-
"repos": [
37-
{
38-
"mirror": "sg-benchmarks/markdown--dibench",
39-
"target_dir": "."
40-
}
41-
]
42-
}' > /tmp/.sg_only_clone_manifest.json
34+
RUN echo '{"workdir":"/app/repo","repos":[{"mirror":"sg-benchmarks/markdown--dibench","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
4335

4436
# Mark sg_only mode
4537
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/flink-pricing-window-feat-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@ RUN git init && \
2626
RUN mkdir -p /logs/agent /logs/verifier
2727

2828
# Clone manifest for verifier (clone-at-verify strategy)
29-
RUN echo '{
30-
"workdir": "/workspace",
31-
"repos": [
32-
{
33-
"mirror": "sg-benchmarks/flink--0cc95fcc",
34-
"target_dir": "."
35-
}
36-
]
37-
}' > /tmp/.sg_only_clone_manifest.json
29+
RUN echo '{"workdir":"/workspace","repos":[{"mirror":"sg-benchmarks/flink--0cc95fcc","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3830

3931
# Mark sg_only mode
4032
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/flipt-dep-refactor-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@ RUN git init && \
2424
RUN mkdir -p /logs/agent /logs/verifier
2525

2626
# Clone manifest for verifier (clone-at-verify strategy)
27-
RUN echo '{
28-
"workdir": "/workspace",
29-
"repos": [
30-
{
31-
"mirror": "sg-benchmarks/flipt--3d5a345f",
32-
"target_dir": "."
33-
}
34-
]
35-
}' > /tmp/.sg_only_clone_manifest.json
27+
RUN echo '{"workdir":"/workspace","repos":[{"mirror":"sg-benchmarks/flipt--3d5a345f","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3628

3729
# Mark sg_only mode
3830
RUN touch /tmp/.sg_only_mode

benchmarks/ccb_build/flipt-flagexists-refactor-001/environment/Dockerfile.sg_only

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@ RUN git init && \
2424
RUN mkdir -p /logs/agent /logs/verifier
2525

2626
# Clone manifest for verifier (clone-at-verify strategy)
27-
RUN echo '{
28-
"workdir": "/workspace",
29-
"repos": [
30-
{
31-
"mirror": "sg-benchmarks/flipt--3d5a345f",
32-
"target_dir": "."
33-
}
34-
]
35-
}' > /tmp/.sg_only_clone_manifest.json
27+
RUN echo '{"workdir":"/workspace","repos":[{"mirror":"sg-benchmarks/flipt--3d5a345f","target_dir":"."}]}' > /tmp/.sg_only_clone_manifest.json
3628

3729
# Mark sg_only mode
3830
RUN touch /tmp/.sg_only_mode

0 commit comments

Comments
 (0)