Repository navigation
Description
Problem
When a software-agent-sdk release ships (e.g. v1.49.5, PR #5246), the agent-server image is published to GHCR (openhands/agent-server:<version>-python) via server.yml (dispatched from create-release.yml). However, no workflow calls OpenHands/OpenHands-Cloud/.github/workflows/bump-image-tag.yml@main to bump the agent-server image tag in the openhands-cloud charts.
This is unlike enterprise (enterprise-server) and the agent-canvas repo, both of which have a bump-chart.yml caller that invokes the bump-image-tag reusable workflow on each release tag, automatically opening a feat(<component>): bump image tag PR in openhands-cloud.
As a result, the agent-server chart pins fall behind and must be bumped manually — which is exactly what happened this release:
- terminal/tmux: disable bash history expansion to avoid ! mangling #1277 (enterprise-server → 1.64.0) and tests: make wsproto agent_server fixture teardown robust #1278 (agent-canvas → 1.23.0) were auto-generated ✅
- The agent-server bump (
1.49.4-python→1.49.5-python) was not auto-generated ❌, and had to be done manually in feat(openhands): bump agent-server image tag to 1.49.5-python OpenHands-Cloud#1279
Impact
When the manual bump is missed, it blocks the openhands chart release. The Check agent-server sync CI gate in openhands-cloud enforces that the sandbox agent-server image version matches the software-agent-sdk version that enterprise-server was built against. With a stale agent-server pin, the chart release PR fails check-agent-server-sync (and downstream release-gate):
error: agent-server 1.49.4 is pinned in the charts, but enterprise-server 1.64.0
was built against software-agent-sdk 1.49.5.
The enterprise server's agent-server client and the agent-server image the sandbox
runs must be the same version.
Fix: set every agent-server tag below to 1.49.5-python ...
charts/image-loader/values.yaml -> .image.tag: 1.49.4-python
charts/openhands/charts/runtime-api/values.yaml -> .global.agentServerImage.tag: 1.49.4-python
charts/openhands/values.yaml -> .global.agentServerImage.tag: 1.49.4-python
This blocked the chore(main): release openhands 0.71.0 PR (OpenHands/OpenHands-Cloud#1274) until #1279 landed.
Proposed solution
Add a caller in software-agent-sdk (analogous to enterprise's bump-chart.yml) that, after server.yml publishes the agent-server image on a release tag, invokes OpenHands/OpenHands-Cloud/.github/workflows/bump-image-tag.yml@main to open the bump PR(s) in openhands-cloud.
Complication: multiple pin locations
bump-image-tag.yml edits a single chart_file + image_tag_path per call. The agent-server tag is pinned in three places, all of which must move together:
| File | Path |
|---|---|
charts/image-loader/values.yaml |
.image.tag |
charts/openhands/charts/runtime-api/values.yaml |
.agentServerImage.tag (a.k.a. .global.agentServerImage.tag) |
charts/openhands/values.yaml |
.global.agentServerImage.tag |
So a caller would either need to invoke bump-image-tag.yml three times (once per file/path), or bump-image-tag.yml would need to be extended to support multi-file edits (e.g. a list of {chart_file, image_tag_path} pairs). The multi-file option is cleaner and would also benefit any future component pinned in more than one place; the three-call option is a smaller change but produces three separate PRs/branches unless the pr_branch input is shared.
Additional consideration: tag format
The agent-server image uses a <version>-python suffix (e.g. 1.49.5-python), and is also published as rel-<version>-python (e.g. rel-1.49.5-python). The caller needs to construct the correct tag string from the release version, matching what server.yml actually publishes (and what the existing pins use — currently <version>-python).
Reproduction
- Cut a
software-agent-sdkrelease (e.g. v1.49.5). - Observe:
server.ymlpublishesopenhands/agent-server:1.49.5-python. - Observe: no PR is opened in
openhands-cloudto bump the agent-server chart pins. - Compare:
enterpriserelease of the same cycle opens terminal/tmux: disable bash history expansion to avoid ! mangling #1277 automatically;agent-canvasopens tests: make wsproto agent_server fixture teardown robust #1278 automatically.
Expected behavior
A software-agent-sdk release should automatically open a feat(<component>): bump agent-server image tag to <version>-python PR in openhands-cloud covering all three pin locations, so the Check agent-server sync gate never trips on a stale agent-server pin.
Context
- Manual fix that prompted this: feat(openhands): bump agent-server image tag to 1.49.5-python OpenHands-Cloud#1279
- Blocked chart release: chore(main): release openhands 0.71.0 OpenHands-Cloud#1274
- Reusable workflow to call:
OpenHands/OpenHands-Cloud/.github/workflows/bump-image-tag.yml(see alsodocs/automated-image-tag-bumps.mdinopenhands-cloud) - Reference caller (enterprise): https://github.com/OpenHands/enterprise/blob/main/.github/workflows/bump-chart.yml
This issue was created by an AI agent (OpenHands) on behalf of @juanmichelini.
Activity
all-hands-bot commentedon Sep 23, 2026
The following comments were added by the OpenHands AI agent.
Decision needed
The desired outcome is clear (each
software-agent-sdkrelease opens oneopenhands-cloudPR bumping all three agent-server pins to<version>-python), but the mechanism that produces that single PR is not settled, and it spans two repositories. Evidence from the current tooling:OpenHands/OpenHands-Cloud/.github/workflows/bump-image-tag.ymledits exactly onechart_file+image_tag_pathper call, and itspeter-evans/create-pull-requeststep checks outbase_branchfresh on every call and stages only its ownadd-paths. Invoking it three times with one sharedpr_branchtherefore cannot accumulate all three edits into a single PR — the later call resets the branch to the base branch plus its own single-file edit. The "three-call" option in the issue does not meet the stated single-PR outcome.charts/image-loader/values.yaml.image.tag,charts/openhands/charts/runtime-api/values.yaml.agentServerImage.tag, andcharts/openhands/values.yaml.global.agentServerImage.tag, all currently<version>-python(OpenHands-Cloud#1279).server.yml→docker/build.pypublishes<version>-python, so the tag string itself is settled by the evidence and is not in question.Focused questions:
bump-image-tag.ymlin OpenHands-Cloud to accept a list of{chart_file, image_tag_path}pairs (keeping the existing single-pair behavior backward compatible for the enterprise/agent-canvas/automation callers) and add a caller insoftware-agent-sdk; or leave the reusable workflow unchanged and build asoftware-agent-sdkworkflow that performs the three edits and opens one PR? A three-invocation caller alone does not satisfy the single-PR requirement.create-release.ymldispatchesserver.ymlwithGITHUB_TOKENonrefs/tags/vX.Y.Z? Follow enterprise/agent-canvas withworkflow_runon theAgent Serverworkflow completing (deriving the tag fromgithub.event.workflow_run.head_branch), or dispatch the bump fromcreate-release.ymlonce the image tag resolves? This decides whether a not-yet-published or partial image can produce a wrong-pin PR.feat(ci): auto-bump agent-server chart tag via version-bump-prs.yml (#…