You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
[Bug]: examples/acp-docker hardcodes agent-server version below the Canvas compatibility floor #2020
examples/acp-docker/docker-compose.yml hardcodes image: ghcr.io/openhands/agent-server:1.25.0-python. Canvas enforces compatibility.minimumAgentServer (currently 1.28.0) from config/defaults.json, so the example's default image is below the floor and the backend banner renders "Disconnected — requires 1.28.0 or newer." A user following the examples/acp-docker quickstart as written never reaches the feature.
Root cause
examples/acp-docker is the only in-repo location that hardcodes an agent-server version instead of inheriting from config/defaults.json (the documented single source of truth — 14 other files read it). scripts/check-sdk-version-sync.mjs only validates the released PyPI package, not in-repo example files, so nothing catches this drift.
Steps to Reproduce
cd examples/acp-docker && docker compose up (no .env)
Point Canvas at http://localhost:8010
Banner shows "Disconnected — requires 1.28.0 or newer" despite a valid configured credential.
Proposed fix
Make the example inherit from defaults.json: a small generator that pins AGENT_SERVER_IMAGE to ${images.agentServer}:${versions.agentServer}-python for the reproducible path, and a no-config compose fallback of latest-python (always ≥ the floor). Branch ready — happy to PR.
Why this is a good first issue:
This bug has a very clear reproduction path, a narrowly scoped root cause, and a small surface area to change. The issue already points to the exact example that drifted from the repo's shared version pin, so the work is more about aligning one example with existing project conventions than designing a brand-new feature. It's also a nice introduction to how Agent Canvas keeps version pins centralized in config/defaults.json.
Instructions for tackling this issue:
Start by looking at examples/acp-docker/docker-compose.yml, then compare it with the shared version source in config/defaults.json and the surrounding ACP docs in examples/acp-docker/README.md and docs/ACP_AGENTS.md. The key convention in this repo is to avoid magic version strings when a shared default already exists. A good fix is a minimal one that removes or reduces version drift rather than adding another hardcoded pin somewhere else. If you add a small helper or sync check, follow the existing drift-test pattern in __tests__/scripts/docs-version-sync.test.ts so future agent-server version bumps cannot silently leave the example behind again.
Getting started:
You can work on this issue without asking for it to be assigned to you. Feel free to open a pull request directly!
Already have a fix up in #1434, opened the same day I filed this. It drops the hardcoded agent-server image and inherits the version from config/defaults.json, so the example tracks the minimumAgentServer floor instead of pinning below it (zero-config falls back to latest-python, and npm run example:acp-docker:env pins the SoT version). There's a drift guard test too.
Happy to keep carrying it. Flagging here so it doesn't get double-grabbed as a good-first-issue.
Activity
jamiechicago312 commentedon Jun 20, 2026
Great issue for new contributors! 🎉
Why this is a good first issue:
This bug has a very clear reproduction path, a narrowly scoped root cause, and a small surface area to change. The issue already points to the exact example that drifted from the repo's shared version pin, so the work is more about aligning one example with existing project conventions than designing a brand-new feature. It's also a nice introduction to how Agent Canvas keeps version pins centralized in
config/defaults.json.Instructions for tackling this issue:
Start by looking at
examples/acp-docker/docker-compose.yml, then compare it with the shared version source inconfig/defaults.jsonand the surrounding ACP docs inexamples/acp-docker/README.mdanddocs/ACP_AGENTS.md. The key convention in this repo is to avoid magic version strings when a shared default already exists. A good fix is a minimal one that removes or reduces version drift rather than adding another hardcoded pin somewhere else. If you add a small helper or sync check, follow the existing drift-test pattern in__tests__/scripts/docs-version-sync.test.tsso future agent-server version bumps cannot silently leave the example behind again.Getting started:
You can work on this issue without asking for it to be assigned to you. Feel free to open a pull request directly!
Need help?
Join our Slack community: https://go.openhands.dev/slack
This comment was created by an AI agent (OpenHands) on behalf of the user.
georgeglarson commentedon Jun 21, 2026
Already have a fix up in #1434, opened the same day I filed this. It drops the hardcoded
agent-serverimage and inherits the version fromconfig/defaults.json, so the example tracks theminimumAgentServerfloor instead of pinning below it (zero-config falls back tolatest-python, andnpm run example:acp-docker:envpins the SoT version). There's a drift guard test too.Happy to keep carrying it. Flagging here so it doesn't get double-grabbed as a good-first-issue.