Repository navigation
Closed
Labels
ready-for-humanA draft documentation pull request is ready for human review.
Description
Release
- Version: v1.31.0
- Published: 2026-10-22T16:09:18Z
- URL: https://github.com/OpenHands/OpenHands/releases/tag/v1.31.0
- Prerelease: no
- Note: This issue was created during a manual backfill run. The automation did not create issues for releases after v1.28.1, so this release is older than the usual 24-hour window. The changelog compares against v1.30.1, which was a maintenance-only patch.
Release summary
Agent Canvas 1.31.0 is a small release over v1.30.1.
New feature:
- On self-hosted (OpenHands Enterprise) instances where the user has connected GitHub, the automation setup dialog no longer shows the "GitHub token secret" field. The automation still names
GITHUB_PERSONAL_ACCESS_TOKEN, and the bundle falls back to the connected integration's token.
MCP library fixes:
- Entries that support only OAuth (Sentry and 11 others) now install through the MCP server's own OAuth discovery and dynamic client registration. Before, Install did nothing for these entries.
- If no option can be installed, the install dialog says so.
- An abandoned OAuth pop-up now reports that sign-in was not completed, not a timeout.
Other fixes:
- Editing an automation keeps its repositories.
- The DigitalOcean web bridge (MARS) accepts the typed session key on LAN or Docker binds that have no baked key.
- DigitalOcean sessions are preserved through Canvas auth recovery.
The in-repo specs/ directory is removed. The release notes link 10 pull requests.
Documentation review checklist
- GitHub token secret field hidden on Enterprise when GitHub is connected (OHE-3699, #18829): Documentation needed. On
deployment_mode: self_hostedwith GitHub connected underSettings > Integrations, the GitHub code review template's "GitHub token secret" field is hidden on the form and on the review step. Update the GitHub PR review prebuilt page so that it says Enterprise users with a connected GitHub integration do not need to create the secret. Source: feat(automations): hide the GitHub token secret field on self-hosted instances when GitHub is connected (OHE-3699) OpenHands#18829 - OAuth-only MCP library entries install through the server's own OAuth (#18780): Documentation needed. For entries whose only option is OAuth, Canvas connects through the MCP server's OAuth discovery and dynamic client registration. It does not send the catalog's provider endpoints or scopes.
mcp-settings.mdxdescribes OAuth MCP servers; add the library install behavior and the "nothing installable" message. Source: fix(mcp): install OAuth-only library entries through the MCP server's own OAuth OpenHands#18780 - Sign-in not completed message for abandoned OAuth pop-ups (#18816): Documentation needed (troubleshooting). After about 120 s without finished sign-in, the dialog says that sign-in was not completed, not "Connection timed out". Add this to MCP troubleshooting. Source: fix(mcp): say the sign-in was not completed when an OAuth install pop-up is abandoned OpenHands#18816
- Automation repositories kept when editing (#18776): Documentation needed / needs maintainer confirmation. Edit now lists saved repositories. Repository changes are saved only when the automation service advertises
repoUpdate(feat: let PATCH change a preset automation's repositories automation#625) and the automation is a prompt or plugin preset. In other cases, the repositories are read-only with the text "Can't be changed for this automation". A repository typed as a full URL is sent without a provider.managing-automations.mdxshould explain when repositories can be edited. Source: fix: keep automation repositories when editing OpenHands#18776 - Typed session key forwarded to the MARS web bridge (#18465): Probably no documentation change (bug fix). Add Backend → Providers → DigitalOcean now works on LAN or Docker binds where the user typed the session key. Source: fix(mars): forward typed session key to web bridge on non-baked binds OpenHands#18465
- DigitalOcean sessions preserved through auth recovery (#18604): Probably no documentation change / needs maintainer confirmation. A ready DigitalOcean session opens without the local API-key gate. Recovery saves the key on the hosting backend. Source: fix(mars): preserve DigitalOcean sessions through auth recovery OpenHands#18604
- In-repo
specs/directory removed (#18820): Probably no documentation change (contributor-only). Source: docs: remove the unwanted specs directory OpenHands#18820 - Maintenance (grouped): Probably no documentation change. This group covers a test await fix and artifact cleanup. Sources: test: await lazy root gates before availability assertions OpenHands#18797 , chore: remove merged PR artifacts OpenHands#18822 , chore: remove merged PR artifacts OpenHands#18828
Pull request review
- #18829: The manifest setup dialog hides the field when the deployment mode is self-hosted and the user's
provider_tokens_setincludes GitHub. The field keeps its default value, so the bundle's connected-token fallback (feat(automations): run the automation templates on OpenHands Cloud and Enterprise extensions#712) applies. Docs impact: the GitHub PR review automation setup. - #18780: Covers 12 OAuth-only catalog entries. It adds spec MCP-006 ("Library installs never dead-end"). Docs impact: the MCP library install flow.
- #18816: Adds a new
authorizationfailure kind and a message translated into all locales. Docs impact: troubleshooting text. - #18776: Repositories are read from
preset_metadata.repos, and repository updates are capability-gated. Docs impact: editing automations. - #18465, #18604: Fixes for DigitalOcean / MARS authentication. Docs impact: none found.
backend-setup/digitalocean.mdxdoes not describe the internal gate. - #18820: Contributor docs only.
Human testing required
- GitHub token field on Enterprise (#18829): On an Enterprise instance, run these checks:
- (a) With GitHub connected, start setup of the GitHub code review template. Verify that the "GitHub token secret" field does not appear on the form or on the review step. Verify that the created automation runs with the connected token.
- (b) Without GitHub connected, verify that the field is shown.
- (c) On OpenHands Cloud (not self-hosted), verify that the field is shown.
- OAuth-only MCP install (#18780): From the MCP library, install Sentry (OAuth-only) on a local backend and on a cloud backend. Verify that the OAuth pop-up opens and that the server installs after you finish sign-in.
- Abandoned OAuth pop-up (#18816): Start an OAuth MCP install and close the pop-up without signing in. Wait about 2 minutes. Verify that the dialog says the sign-in was not completed, not that the connection timed out.
- Editing automation repositories (#18776): With an automation service that advertises
repoUpdate, edit a prompt-preset automation. Add and remove a repository, then save. Verify that the change persists and keeps branch and provider. With an older service or a custom-script automation, verify that the repositories are read-only with the explanation. - DigitalOcean on a LAN bind (#18465): Serve Canvas with
--host 0.0.0.0, and type the session key. Open Add Backend → Providers → DigitalOcean. Verify that there is no401 session key requirederror.
Suggested documentation locations
/openhands/usage/agent-canvas/prebuilt/github-pr-review: the GitHub token secret on Enterprise with a connected integration./openhands/usage/settings/mcp-settings: the MCP library OAuth install fallback and the abandoned-sign-in message./openhands/usage/agent-canvas/managing-automations: repository editing rules./openhands/usage/agent-canvas/release-notes/v1.31.0(new page) plus adocs.jsonnavigation entry.
Source links
- https://github.com/OpenHands/OpenHands/releases/tag/v1.31.0
- feat(automations): hide the GitHub token secret field on self-hosted instances when GitHub is connected (OHE-3699) OpenHands#18829
- fix(mcp): install OAuth-only library entries through the MCP server's own OAuth OpenHands#18780
- fix: keep automation repositories when editing OpenHands#18776
- fix(mars): forward typed session key to web bridge on non-baked binds OpenHands#18465
- fix(mars): preserve DigitalOcean sessions through auth recovery OpenHands#18604
- fix(mcp): say the sign-in was not completed when an OAuth install pop-up is abandoned OpenHands#18816
- docs: remove the unwanted specs directory OpenHands#18820
- test: await lazy root gates before availability assertions OpenHands#18797
- chore: remove merged PR artifacts OpenHands#18822
- chore: remove merged PR artifacts OpenHands#18828
This issue was created by an AI agent (OpenHands) on behalf of the user.
Metadata
Metadata
Assignees
Labels
ready-for-humanA draft documentation pull request is ready for human review.
Activity
all-hands-bot commentedon Oct 29, 2026
A draft documentation PR is ready for human review: #1043
This comment was created by an AI agent (OpenHands) on behalf of the user.