Repository navigation
Commit 405bae7
fix(commit0): drop the forked agent-layer Dockerfile, build through the shared phased pipeline (#778)
* fix(commit0): drop the forked agent-layer Dockerfile, build through the shared phased pipeline
Dockerfile.agent-layer-commit0 re-implemented the SDK's base-image-minimal
setup (runtime packages, user creation, ACP install) instead of inheriting
it, and had silently drifted onto stale/dead ACP pins (codex-acp pointed at
the abandoned @zed-industries pre-migration package). The SDK's
base-image-minimal target already handles raw upstream apt-based images
(exactly commit0's case) via its package-manager case statement — this is
the same mechanism SWE-Bench already uses successfully against its own raw
upstream (docker.io/swebench/*) base images.
Route commit0 through the same three-phase pipeline as SWE-Bench:
builder -> base-image-minimal -> Dockerfile.agent-layer. Image tags now use
the shared get_phased_image_tag_prefix() scheme (content-hash-qualified)
instead of a commit0-only Dockerfile-hash prefix.
Relates to OpenHands/software-agent-sdk#4643 (opportunity 1). #4805's
cross-repo Dockerfile/acp_providers.py parity test cannot reach into this
repo, which is why deletion (not re-pinning) is the fix.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* ci(commit0): expose --max-retries in build-commit0-images.yml
Mirrors build-swebench-images.yml's existing max-retries input/env/CLI
wiring. commit0's build_images.py already accepts --max-retries via the
shared args parser (default 3); the workflow just never exposed it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Debug Agent <debug@example.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent f60e4ed commit 405bae7
7 files changed
Lines changed: 190 additions & 469 deletions
File tree
- .github/workflows
- benchmarks
- commit0
- utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| 151 | + | |
145 | 152 | | |
146 | 153 | | |
147 | 154 | | |
| |||
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
212 | | - | |
| 219 | + | |
| 220 | + | |
213 | 221 | | |
214 | 222 | | |
215 | 223 | | |
| |||
0 commit comments