Commit 9f5fc73
feat: eliminate clone+backup+truncate from sg_only Dockerfiles (v2 clone-at-verify)
Replace the /repo_full/ backup pattern with clone-at-verify: build-requiring
Dockerfile.sg_only files now embed a JSON clone manifest instead of cloning,
backing up to /repo_full/, and truncating. The verifier wrapper reads the
manifest and clones mirrors with --depth 1 at verification time.
Key changes:
- scripts/sgonly_verifier_wrapper.sh: clone from manifest, legacy /repo_full/ fallback
- scripts/generate_sgonly_dockerfiles.py: CCB_REPO_BASE_MAP, extract_clone_layout(),
generate_build_requiring() v2 with SWE-bench/code-review/multi-repo variants
- 190 Dockerfile.sg_only regenerated (128 build-requiring, 62 write-only)
- 128 verifier wrappers updated with v2 clone-at-verify logic
This eliminates ~100MB-2GB /repo_full/ backup per image and ~60% build time.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 43261e9 commit 9f5fc73
File tree
315 files changed
+23727
-5657
lines changed- benchmarks
- ccb_build
- bustub-hyperloglog-impl-001/environment
- camel-fix-protocol-feat-001
- environment
- tests
- cgen-deps-install-001
- environment
- tests
- codecoverage-deps-install-001
- environment
- tests
- dotenv-expand-deps-install-001
- environment
- tests
- dotnetkoans-deps-install-001
- environment
- tests
- envoy-grpc-server-impl-001
- environment
- tests
- eslint-markdown-deps-install-001
- environment
- tests
- flink-pricing-window-feat-001
- environment
- tests
- flipt-dep-refactor-001
- environment
- tests
- flipt-flagexists-refactor-001
- environment
- tests
- iamactionhunter-deps-install-001
- environment
- tests
- k8s-noschedule-taint-feat-001
- environment
- tests
- k8s-runtime-object-impl-001
- environment
- tests
- k8s-score-normalizer-refac-001
- environment
- tests
- kafka-batch-accumulator-refac-001
- environment
- tests
- pcap-parser-deps-install-001
- environment
- tests
- python-http-class-naming-refac-001
- environment
- tests
- rust-subtype-relation-refac-001/environment
- servo-scrollend-event-feat-001
- environment
- tests
- similar-asserts-deps-install-001
- environment
- tests
- strata-cds-tranche-feat-001
- environment
- tests
- strata-fx-european-refac-001
- environment
- tests
- tensorrt-mxfp4-quant-feat-001
- environment
- tests
- vscode-stale-diagnostics-feat-001
- environment
- tests
- ccb_debug
- ansible-galaxy-tar-regression-prove-001
- environment
- tests
- django-admins-migration-audit-001/environment
- envoy-duplicate-headers-debug-001/environment
- flipt-auth-cookie-regression-prove-001
- environment
- tests
- grafana-table-panel-regression-001/environment
- istio-xds-destrul-debug-001/environment
- prometheus-queue-reshard-debug-001/environment
- qutebrowser-adblock-cache-regression-prove-001
- environment
- tests
- qutebrowser-darkmode-threshold-regression-prove-001
- environment
- tests
- qutebrowser-hsv-color-regression-prove-001
- environment
- tests
- qutebrowser-url-regression-prove-001
- environment
- tests
- teleport-ssh-regression-prove-001
- environment
- tests
- terraform-phantom-update-debug-001/environment
- tutanota-search-regression-prove-001
- environment
- tests
- vuls-oval-regression-prove-001
- environment
- tests
- ccb_design
- camel-routing-arch-001
- environment
- tests
- django-modeladmin-impact-001
- environment
- tests
- django-orm-query-arch-001/environment
- django-pre-validate-signal-design-001
- environment
- tests
- django-rate-limit-design-001
- environment
- tests
- envoy-routeconfig-dep-chain-001
- environment
- tests
- envoy-stream-aggregated-sym-001
- environment
- tests
- etcd-grpc-api-upgrade-001
- environment
- tests
- flink-checkpoint-arch-001
- environment
- tests
- flipt-protobuf-metadata-design-001
- environment
- tests
- flipt-transitive-deps-001
- environment
- tests
- k8s-crd-lifecycle-arch-001
- environment
- tests
- k8s-dra-allocation-impact-001/environment
- k8s-scheduler-arch-001
- environment
- tests
- k8s-typemeta-dep-chain-001
- environment
- tests
- kafka-flink-streaming-arch-001/environment
- postgres-query-exec-arch-001
- environment
- tests
- quantlib-barrier-pricing-arch-001/environment
- terraform-provider-iface-sym-001
- environment
- tests
- ccb_document
- cilium-api-doc-gen-001/environment
- docgen-changelog-001/environment
- docgen-changelog-002/environment
- docgen-inline-001/environment
- docgen-inline-002
- environment
- tests
- docgen-onboard-001/environment
- docgen-runbook-001/environment
- docgen-runbook-002/environment
- envoy-arch-doc-gen-001/environment
- envoy-migration-doc-gen-001/environment
- istio-arch-doc-gen-001/environment
- k8s-apiserver-doc-gen-001
- environment
- tests
- k8s-applyconfig-doc-gen-001
- environment
- tests
- k8s-clientgo-doc-gen-001
- environment
- tests
- k8s-fairqueuing-doc-gen-001
- environment
- tests
- k8s-kubelet-cm-doc-gen-001
- environment
- tests
- kafka-api-doc-gen-001/environment
- terraform-arch-doc-gen-001/environment
- terraform-migration-doc-gen-001/environment
- vscode-api-doc-gen-001/environment
- ccb_fix
- ansible-abc-imports-fix-001
- environment
- tests
- ansible-module-respawn-fix-001
- environment
- tests
- django-modelchoice-fk-fix-001
- environment
- tests
- django-select-for-update-fix-001
- environment
- tests
- flipt-cockroachdb-backend-fix-001
- environment
- tests
- flipt-ecr-auth-oci-fix-001
- environment
- tests
- flipt-eval-latency-fix-001
- environment
- tests
- flipt-otlp-exporter-fix-001
- environment
- tests
- flipt-trace-sampling-fix-001
- environment
- tests
- k8s-dra-scheduler-event-fix-001
- environment
- tests
- kafka-producer-bufpool-fix-001/environment
- nodebb-notif-dropdown-fix-001
- environment
- tests
- nodebb-plugin-validate-fix-001
- environment
- tests
- openlibrary-fntocli-adapter-fix-001
- environment
- tests
- openlibrary-search-query-fix-001
- environment
- tests
- openlibrary-solr-boolean-fix-001
- environment
- tests
- protonmail-conv-testhooks-fix-001
- environment
- tests
- protonmail-dropdown-sizing-fix-001
- environment
- tests
- protonmail-holiday-calendar-fix-001
- environment
- tests
- pytorch-cudnn-version-fix-001
- environment
- tests
- pytorch-dynamo-keyerror-fix-001
- environment
- tests
- pytorch-release-210-fix-001
- environment
- tests
- pytorch-relu-gelu-fusion-fix-001
- environment
- tests
- pytorch-tracer-graph-cleanup-fix-001
- environment
- tests
- ccb_mcp_compliance
- ccx-compliance-051
- environment
- tests
- ccx-compliance-057-ds
- environment
- tests
- ccb_mcp_crossorg
- ccx-crossorg-061
- environment
- tests
- ccx-crossorg-066
- environment
- tests
- ccb_mcp_crossrepo_tracing
- ccx-config-trace-010
- environment
- tests
- ccx-dep-trace-001
- environment
- tests
- ccx-dep-trace-004
- environment
- tests
- ccb_mcp_incident
- ccx-incident-031
- environment
- tests
- ccx-incident-034
- environment
- tests
- ccx-incident-037
- environment
- tests
- ccb_mcp_migration
- ccx-migration-025
- environment
- tests
- ccx-migration-027
- environment
- tests
- ccb_mcp_onboarding
- ccx-explore-042-ds
- environment
- tests
- ccx-onboard-041
- environment
- tests
- ccx-onboard-050-ds
- environment
- tests
- ccb_mcp_platform
- ccx-explore-091-ds
- environment
- tests
- ccx-platform-094
- environment
- tests
- ccx-platform-100
- environment
- tests
- ccb_mcp_security
- ccx-vuln-remed-011
- environment
- tests
- ccx-vuln-remed-014
- environment
- tests
- ccb_secure
- curl-cve-triage-001/environment
- curl-vuln-reachability-001/environment
- django-audit-trail-implement-001
- environment
- tests
- django-cross-team-boundary-001
- environment
- tests
- django-csrf-session-audit-001
- environment
- tests
- django-legacy-dep-vuln-001
- environment
- tests
- django-policy-enforcement-001
- environment
- tests
- django-repo-scoped-access-001
- environment
- tests
- django-role-based-access-001
- environment
- tests
- django-sensitive-file-exclusion-001
- environment
- tests
- envoy-cve-triage-001/environment
- envoy-vuln-reachability-001/environment
- flipt-degraded-context-fix-001
- environment
- tests
- flipt-repo-scoped-access-001
- environment
- tests
- golang-net-cve-triage-001/environment
- grpcurl-transitive-vuln-001/environment
- kafka-sasl-auth-audit-001
- environment
- tests
- kafka-vuln-reachability-001/environment
- postgres-client-auth-audit-001
- environment
- tests
- wish-transitive-vuln-001/environment
- ccb_test
- aspnetcore-code-review-001
- environment
- tests
- calcom-code-review-001
- environment
- tests
- curl-security-review-001
- environment
- tests
- envoy-code-review-001
- environment
- tests
- ghost-code-review-001
- environment
- tests
- kafka-security-review-001
- environment
- tests
- llamacpp-context-window-search-001/environment
- llamacpp-file-modify-search-001/environment
- numpy-array-sum-perf-001
- environment
- tests
- openhands-search-file-test-001/environment
- pandas-groupby-perf-001
- environment
- tests
- sklearn-kmeans-perf-001
- environment
- tests
- terraform-code-review-001
- environment
- tests
- test-coverage-gap-001
- environment
- tests
- test-coverage-gap-002
- environment
- tests
- test-integration-001/environment
- test-integration-002/environment
- test-unitgen-go-001/environment
- test-unitgen-py-001
- environment
- tests
- vscode-code-review-001
- environment
- tests
- ccb_understand
- argocd-arch-orient-001/environment
- argocd-sync-reconcile-qa-001/environment
- cilium-ebpf-datapath-handoff-001/environment
- cilium-ebpf-fault-qa-001/environment
- cilium-project-orient-001/environment
- django-composite-field-recover-001
- environment
- tests
- django-template-inherit-recall-001
- environment
- tests
- envoy-contributor-workflow-001/environment
- envoy-ext-authz-handoff-001/environment
- envoy-filter-chain-qa-001
- environment
- tests
- envoy-request-routing-qa-001
- environment
- tests
- istio-xds-serving-qa-001/environment
- k8s-cri-containerd-reason-001/environment
- kafka-build-orient-001/environment
- kafka-contributor-workflow-001/environment
- kafka-message-lifecycle-qa-001/environment
- numpy-dtype-localize-001/environment
- terraform-plan-pipeline-qa-001/environment
- terraform-state-backend-handoff-001/environment
- vscode-ext-host-qa-001/environment
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
315 files changed
+23727
-5657
lines changedLines changed: 19 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | | - | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 29 | + | |
Lines changed: 35 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
22 | 42 | | |
Lines changed: 150 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
28 | 159 | | |
29 | 160 | | |
30 | 161 | | |
| |||
34 | 165 | | |
35 | 166 | | |
36 | 167 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
48 | 177 | | |
49 | 178 | | |
50 | 179 | | |
51 | | - | |
| 180 | + | |
Lines changed: 28 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
0 commit comments