This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Repository navigation
chore: bump software-agent-sdk to 1.31.1 and automation to 1.1.2 - #1609
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
✅ Mock-LLM E2E Tests60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
✅ Mock-LLM Docker E2E Test Results60/60 passed Commit: Details
Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses) |
Contributor
|
🚀 Released in v1.2.0. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
Update the version pins in config/defaults.json — the single source of
truth read by scripts/dev-safe.mjs, scripts/dev-with-automation.mjs,
docker/entrypoint.sh, and .github/workflows/docker.yml.
pins openhands-sdk/tools/workspace/agent-server and the
ghcr.io/openhands/agent-server:-python image tag)
Also update the coupled default-case assertion in
tests/scripts/dev-safe.test.ts and the documented default in
AGENTS.md.
Verified with
node scripts/check-sdk-version-sync.mjs: the releasedopenhands-automation==1.1.2 pins openhands-sdk==1.31.1 and
openhands-workspace==1.31.1, matching versions.agentServer.
AGENT:
Why
New upstream releases are available:
v1.31.1— https://github.com/OpenHands/software-agent-sdkv1.1.2— https://github.com/OpenHands/automationUpdate
agent-server-guito pin these latest versions.Background
config/defaults.jsonis the single source of truth for version pins. Every functional install path — the Docker build (ghcr.io/openhands/agent-server:<v>-python),scripts/dev-safe.mjs(theuvxagent-server install), and the mock-LLM CI workflow — reads its versions from that file, so it is the only file that must change functionally.The two dependencies map as follows:
config/defaults.jsonversions.agentServer1.29.31.31.1versions.automation1.0.0a131.1.2versions.agentServerdrives the pinned PyPI installs ofopenhands-sdk/openhands-tools/openhands-workspace/openhands-agent-serverand the agent-server Docker image tag.Scope of changes
config/defaults.json— bumpversions.agentServerandversions.automation.__tests__/scripts/dev-safe.test.ts— the default-case assertion is coupled toversions.agentServer(viadev-safe.mjs) and must be updated to1.31.1.AGENTS.md— update the documented default SDK version for accuracy.Out of scope
compatibility.minimumAgentServer(1.28.0) — raising the supported floor is a separate decision.src/mocks/settings-handlers.tsMOCK_AGENT_SERVER_VERSION— an isolated MSWserver_infofixture, uncoupled from the pins and above the minimum either way."e.g., 1.29.3"illustrative examples indev-safe.mjs/check-sdk-version-sync.mjsdocstrings.Acceptance criteria
versions.agentServer = 1.31.1andversions.automation = 1.1.2inconfig/defaults.json.node scripts/check-sdk-version-sync.mjspasses (releasedopenhands-automation==1.1.2pins SDK deps to1.31.1).npx vitest run __tests__/scripts/dev-safe.test.tspasses.1.29.3/1.0.0a13references remain in functional or coupled paths.Summary
Bumps two upstream dependencies to their latest releases:
1.29.3→1.31.1(release)1.0.0a13→1.1.2(release)config/defaults.jsonis the single source of truth for version pins; the Docker build,scripts/dev-safe.mjs, and the mock-LLM CI workflow all read from it, so it is the only functional change. The other two edits keep a coupled test and the docs consistent.Changes
config/defaults.jsonversions.agentServer1.29.3→1.31.1;versions.automation1.0.0a13→1.1.2__tests__/scripts/dev-safe.test.tsversions.agentServerviadev-safe.mjs) updated to1.31.1AGENTS.md1.31.1Not touched (intentional)
compatibility.minimumAgentServer(1.28.0) — not part of a version bump.src/mocks/settings-handlers.tsMOCK_AGENT_SERVER_VERSION— isolated MSWserver_infofixture, uncoupled and above the minimum."e.g., 1.29.3"illustrative examples in docstrings.There is no lockfile for these Python packages — they are installed at runtime from the config pins.
Verification
node scripts/check-sdk-version-sync.mjs— fetchedopenhands-automation==1.1.2from PyPI and confirmed it pinsopenhands-sdk==1.31.1/openhands-workspace==1.31.1, matchingversions.agentServer. "All SDK versions are in sync!"npx vitest run __tests__/scripts/dev-safe.test.ts— 52/52 tests pass.Risk
Low. Version-pin bump only; no application logic changes. The sync check confirms
automation 1.1.2was built againstSDK 1.31.1, so the two pins are mutually compatible.Issue Number
Resolves #1988
How to Test
node scripts/check-sdk-version-sync.mjs— fetchedopenhands-automation==1.1.2from PyPI and confirmed it pinsopenhands-sdk==1.31.1/openhands-workspace==1.31.1, matchingversions.agentServer. "All SDK versions are in sync!"npx vitest run __tests__/scripts/dev-safe.test.ts— 52/52 tests pass.Type
🐳 Docker images for this PR
• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas
ghcr.io/openhands/agent-canvasghcr.io/openhands/agent-server:1.31.1-pythonopenhands-automation==1.1.22e481b6ed64e324c9bc2aa9235a8f383f8f5a5abPull (multi-arch manifest)
# Multi-arch manifest — Docker automatically pulls the correct architecture docker pull ghcr.io/openhands/agent-canvas:sha-2e481b6Run
All tags pushed for this build
About Multi-Architecture Support
sha-2e481b6) is a multi-arch manifest supporting both amd64 and arm64sha-2e481b6-amd64) are also available if needed