Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

ci: adopt release-please via shared release-actions - #1496

Merged
hieptl merged 7 commits into
mainfrom
feat/adopt-release-please
Jul 9, 2026
Merged

hieptl merged 7 commits into
mainfrom
feat/adopt-release-please

Conversation

@enyst

@enyst enyst commented Jun 25, 2026 •

Copy link
Copy Markdown
Member

HUMAN:

This PR proposes a little more step to release standardization.

Sorry for the noise! My agent discovered my credentials and went off to babysit to completion, and in the meantime it knew it had to ask you for review so it… kept asking. 😓

  • A human has tested these changes.

AGENT:

I cannot run agent-canvas's release end-to-end from a PR (it would require merging to main and cutting a real release). Instead I validated the configuration statically and by cross-checking against the two repos that already run this exact automation in production:

  • YAML/JSON validity: all four new YAML files parse (validated after the main merge); both JSON files parse (python3 -m json.tool).
  • Pattern parity: release.yml and pr.yml are byte-for-byte the typescript-client callers; release-ready.yml matches the consumer pattern documented in release-actions PR [Phase 3] i18n namespace scoping for library consumption #13, with product-name: Agent Canvas / slack-channel: #proj-agent-canvas.
  • extra-files targets verified against the real files: config/defaults.json has $.versions.agentCanvas; the README docker line carries the # x-release-please-version annotation; the node release-type covers package.json + package-lock.json.
  • Downstream compatibility traced in-repo: npm-publish.yml validates package.json == release tag, and docker.yml reads node -p "require('./package.json').version". release-please keeps package.json in lockstep with the tag it pushes, so both keep working untouched. The tag is pushed with the org release App token, so v*-tag-triggered workflows still fire (a GITHUB_TOKEN push would be suppressed).
  • Seed value verified: npm view + the fetched Git tags confirm v1.1.0 is now the current GA / npm latest. After merging main, the manifest is seeded at 1.1.0 and last-release-sha points at the v1.1.0 tag commit.

Why

agent-canvas releases are currently manual — a human hand-pushes a v* tag to a rel-X.Y.Z branch to fire create-release.yml, npm-publish.yml, and docker.yml. The org is standardizing every active repo onto the shared release-please automation in OpenHands/release-actions (already adopted by typescript-client #234 and OpenHands/OpenHands #14987). This PR brings agent-canvas onto that standard. It also prevents the real version-drift problem this repo already hit: release state lived across package.json, config/defaults.json, README Docker examples, npm, GitHub releases, and Docker tags. After merging current main, this PR now starts release-please from the actually shipped v1.1.0 release.

Summary

  • Add three caller workflows: release.yml (release-please on push to main/release/**), pr.yml (Conventional-Commit title lint + type: labels), release-ready.yml (draft release PR → Ready for review gate → Slack alert to #proj-agent-canvas + optional release tests).
  • Add release-please state: release-please-config.json (node, draft-pull-request: true, extra-files, last-release-sha), .release-please-manifest.json (seeded 1.1.0), and .github/release.yml (changelog categories).
  • extra-files keeps the non-package.json pins in lockstep: config/defaults.json ($.versions.agentCanvas) and the README docker example.
  • Keep release surfaces aligned to the current real release, 1.1.0, after merging main: package.json, package-lock.json, config/defaults.json, README Docker examples, .release-please-manifest.json, and last-release-sha.
  • Remove create-release.yml — release-please now owns tag + GitHub Release creation (matching the other adopters). npm-publish.yml / docker.yml are unchanged.

How to Test

This can't be exercised before merge (release-please only acts on the real main/release branches). To verify after merge:

  1. Config sanity now: python3 -m json.tool release-please-config.json and confirm extra-files paths exist (config/defaults.json → $.versions.agentCanvas; README annotations present). Confirm release-please is seeded at the current shipped release (1.1.0).
  2. First release PR: after this merges and the one-time squash settings are applied (see Notes), the next push to main should open a draft chore(main): release X.Y.Z PR. Confirm it's a draft.
  3. Gate: mark that draft Ready for review → confirm a Slack message lands in #proj-agent-canvas and the PR gets release: ready.
  4. Publish path: merging the release PR should tag vX.Y.Z, create the GitHub Release, and trigger npm-publish.yml + docker.yml as before.

Issue Number

N/A — part of the #proj-release standardization effort.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

One-time repo settings (needs a maintainer — not in this PR). release-please reads the squash-merge commit title:

gh api -X PATCH repos/OpenHands/agent-canvas \
  -f squash_merge_commit_title=PR_TITLE -f squash_merge_commit_message=COMMIT_MESSAGES \
  -F allow_squash_merge=true -F allow_merge_commit=false -F allow_rebase_merge=false \
  -F delete_branch_on_merge=true

Review: @jlav — you own the release-actions design; two judgment calls I'd value your take on: (1) removing create-release.yml vs keeping it as a guarded no-op, and (2) seeding the manifest at the current shipped release (1.1.0 after the main merge) while letting extra-files own the non-package.json version surfaces going forward.

Opened by smolpaws 🐾 on behalf of @enyst.


🐳 Docker images for this PR

• GHCR package: https://github.com/OpenHands/agent-canvas/pkgs/container/agent-canvas

Component Value
Image ghcr.io/openhands/agent-canvas
Architectures amd64, arm64
Agent Server ghcr.io/openhands/agent-server:1.33.0-python
Automation openhands-automation==1.1.4
Commit 3d0edaa0d7e33c8f772805f7b9e06e42ada6ef8b

Pull (multi-arch manifest)

# Multi-arch manifest — Docker automatically pulls the correct architecture
docker pull ghcr.io/openhands/agent-canvas:sha-3d0edaa

Run

docker run -it --rm \
  -p 8000:8000 \
  ghcr.io/openhands/agent-canvas:sha-3d0edaa

All tags pushed for this build

ghcr.io/openhands/agent-canvas:sha-3d0edaa-amd64
ghcr.io/openhands/agent-canvas:feat-adopt-release-please-amd64
ghcr.io/openhands/agent-canvas:pr-1496-amd64
ghcr.io/openhands/agent-canvas:sha-3d0edaa-arm64
ghcr.io/openhands/agent-canvas:feat-adopt-release-please-arm64
ghcr.io/openhands/agent-canvas:pr-1496-arm64
ghcr.io/openhands/agent-canvas:sha-3d0edaa
ghcr.io/openhands/agent-canvas:feat-adopt-release-please
ghcr.io/openhands/agent-canvas:pr-1496

About Multi-Architecture Support

  • Each tag (e.g., sha-3d0edaa) is a multi-arch manifest supporting both amd64 and arm64
  • Docker automatically pulls the correct architecture for your platform
  • Individual architecture tags (e.g., sha-3d0edaa-amd64) are also available if needed

enyst and others added 4 commits June 25, 2026 22:39
Standardize agent-canvas releases on the org-wide release-please
automation (OpenHands/release-actions), matching typescript-client and
OpenHands/OpenHands.

Adds the three caller workflows:
- release.yml      release-please on push to main / release/**
- pr.yml           Conventional-Commit title lint + type: labels
- release-ready.yml draft release PR -> "Ready for review" gate
                   (Slack alert to #proj-agent-canvas + optional tests)

Adds the release-please state files: release-please-config.json
(node, draft PRs, extra-files), .release-please-manifest.json,
.github/release.yml (changelog categories), version.txt. Manifest is
seeded at 1.0.0 (the current GA release, v1.0.0 shipped 2026-06-15).

extra-files keeps the non-package.json version pins in lockstep:
config/defaults.json ($.versions.agentCanvas) and the README docker
example. The node release-type already bumps package.json and
package-lock.json.

Corrects stale on-main version refs (package.json rc.6,
config/defaults.json + README rc.11) to the real released 1.0.0, so all
pins share a single source of truth.

Removes create-release.yml: release-please now owns tag + GitHub Release
creation. npm-publish.yml and docker.yml are unchanged - they trigger on
the v* tags release-please still produces (pushed with the release App
token so tag-triggered workflows fire).

Co-authored-by: smolpaws <engel@enyst.org>
The docs-version-sync test also checks README.windows.md, which still
pinned 1.0.0-rc.11. Update both its docker image refs to the released
1.0.0 and add it to release-please extra-files (with the
x-release-please-version annotation) so future bumps keep it in lockstep
alongside README.md and config/defaults.json.

Co-authored-by: smolpaws <engel@enyst.org>
Two robustness fixes after confirming agent-canvas's release conventions:

- include-v-in-tag: true (explicit). agent-canvas tags are vX.Y.Z
  (v1.0.0, v1.0.0-rc.12), and npm-publish.yml + docker.yml trigger on
  push tags 'v*'. release-please's node default already adds the v, but
  pin it explicitly so a default change can't silently drop the prefix
  and break tag-triggered publishing. (Matches typescript-client, which
  also ships v-prefixed tags; differs from OpenHands/OpenHands, which
  sets include-v-in-tag:false for its no-v scheme.)

- last-release-sha pinned to the v1.0.0 release commit
  (7b9c17e). v1.0.0 is a real, published release (2026-06-15; npm
  latest). This tells release-please the first managed release starts
  from there, so its first run scans only post-1.0.0 commits instead of
  walking the whole history.

Co-authored-by: smolpaws <engel@enyst.org>
Per AI review: version.txt would never be updated and nothing consumes
it. The README's "four state files" guidance assumes the `simple`
release-type (which release-actions itself uses, where version.txt is
the canonical version source). agent-canvas uses `release-type: node`,
where package.json is the source of truth — so version.txt is redundant
and not auto-bumped. The other node adopters (typescript-client,
OpenHands/OpenHands) ship no version.txt either. Remove it rather than
keep a file that silently goes stale.

Co-authored-by: smolpaws <engel@enyst.org>
@vercel

vercel Bot commented Jun 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-canvas Ready Ready Preview, Comment Jul 9, 2026 5:11am

Request Review

@enyst enyst added review-this qa-this Trigger OpenHands QA validation labels Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Artifacts Notice

This PR contains a .pr/ directory with PR-specific artifacts. This directory will be automatically removed when the PR is approved.

Fork PRs require manual cleanup before merging.

all-hands-bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ Review complete.

This review was performed through OpenHands Cloud Automation. You can log in and view the conversation here.

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Taste Rating: Acceptable — the release-please adoption mostly follows the shared pattern, but one new workflow currently points at a reusable workflow that does not exist on the referenced branch.

[CRITICAL ISSUES]

  • [.github/workflows/release-ready.yml, Line 15] Broken reusable workflow dependency: OpenHands/release-actions/.github/workflows/release-ready.yml@main is currently not present in OpenHands/release-actions (.github/workflows only has pr-title.yml, pr.yml, release-please.yml, and release.yml). The referenced upstream PR OpenHands/release-actions#13 is still open, so merging this first would leave the release-ready gate unable to start.

[TESTING GAPS]

  • [PR description / CI] The PR Description Check is currently failing because the HUMAN: section has no short human-written note and the "A human has tested these changes" checkbox is still unchecked. That needs to be fixed before merge independently of the workflow issue above.

[RISK ASSESSMENT]

  • [Overall PR] ⚠️ Risk Assessment: 🔴 HIGH
    This changes the release/publish control plane, introduces pull_request_target workflow callers, and inherits release/Slack secrets for the ready-for-review gate. Those are appropriate areas for human release-owner scrutiny even when the YAML is small. The immediate blocker is mechanical: the reusable workflow reference must exist on the referenced ref before this can safely merge.

Recommendation: Do not auto-merge. Have a human release maintainer verify the ordering with OpenHands/release-actions#13 and the first release-please run after this lands.

VERDICT:
❌ Needs rework: the release-ready workflow target must be available on OpenHands/release-actions@main (or this caller should be removed/deferred) before merging.

KEY INSIGHT:
The release-please configuration is simple, but the new ready-for-review gate has an external workflow dependency that is not merged yet.


Improve this review? If any feedback above seems incorrect or irrelevant to this repository, you can teach the reviewer to do better:

  1. Add a .agents/skills/custom-codereview-guide.md file to your branch (or edit it if one already exists) with the /codereview trigger and the context the reviewer is missing (e.g., "Security concerns about X do not apply here because Y"). See the customization docs for the required frontmatter format.
  2. Re-request a review - the reviewer reads guidelines from the PR branch, so your changes take effect immediately.
  3. When your PR is merged, the guideline file goes through normal code review by repository maintainers.

Resolve with AI? Install the iterate skill in your agent and run /iterate to automatically drive this PR through CI, review, and QA until it's merge-ready.

Was this review helpful? React with 👍 or 👎 to give feedback.

This review was generated by an AI agent (OpenHands) on behalf of the user through OpenHands Automation. View conversation

Comment thread .github/workflows/release-ready.yml Resolved

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ QA Report: FAIL

Release-please itself starts up and would draft a release PR with the expected version file updates, but the new release-ready gate is wired to a reusable workflow that does not exist on OpenHands/release-actions@main.

Does this PR achieve its stated goal?

Partially, but not fully. The PR does add release-please configuration and the release-please CLI can consume it: a dry-run against the PR branch would create a draft release PR and update package.json, package-lock.json, config/defaults.json, both README files, and the manifest. However, the PR also explicitly claims to add a Ready-for-review release gate with Slack notification, and that workflow cannot run because its reusable workflow path returns GitHub API 404.

Phase Result
Environment Setup ✅ Node/GitHub CLI available; changed JSON/YAML parsed successfully
CI Status ⚠️ At time checked: 1 failing PR Description Check, 7 successful, 6 pending; I did not rerun tests
Functional Verification ❌ Release-please config exercised successfully, but release-ready workflow resolution fails
Functional Verification

Test 1: Version drift reset points users at the real GA release

Step 1 — Establish baseline on origin/main:
Ran git show origin/main:... checks:

Base branch values:
package.json=1.0.0-rc.6
config.defaults.agentCanvas=1.0.0-rc.11
README image=ghcr.io/openhands/agent-canvas:1.0.0-rc.11

This confirms the documented/configured versions were drifted across stale RC values.

Step 2 — Apply the PR's changes:
Checked the PR worktree at 5a36d950097fb4d0b3a5691e249b0ae6628d19d9.

Step 3 — Re-run with the PR in place and verify external artifacts:
Ran the same local checks plus registry/release lookups:

PR branch values:
package.json=1.0.0
config.defaults.agentCanvas=1.0.0
README image=ghcr.io/openhands/agent-canvas:1.0.0

npm package: 1.0.0
npm latest: 1.0.0
GitHub release: v1.0.0  false   false
Docker manifest:
docker_manifest_exit=0
mediaType=application/vnd.oci.image.index.v1+json
manifests=4
architectures=amd64,arm64,unknown

This shows the PR resets the stale values to the existing non-draft/non-prerelease v1.0.0, which exists on npm and GHCR.

Test 2: Release-please can consume the new manifest/config and plan a release PR

Step 1 — Establish baseline:
Ran presence checks against origin/main:

Base release-please files:
release-please-config.json=absent
.release-please-manifest.json=absent
.github/workflows/release.yml=absent
.github/workflows/pr.yml=absent
.github/workflows/release-ready.yml=absent

This confirms the release-please automation entrypoints did not exist on the base branch.

Step 2 — Apply the PR's changes:
Used the PR branch configuration files.

Step 3 — Exercise release-please against the PR branch:
Ran:

npx --yes release-please@latest release-pr   --repo-url OpenHands/agent-canvas   --target-branch feat/adopt-release-please   --token "$GITHUB_TOKEN"   --config-file release-please-config.json   --manifest-file .release-please-manifest.json   --dry-run

Observed the release-please engine complete with exit code 0 and plan a draft release PR:

Would open 1 pull requests
fork: false
title: chore(feat/adopt-release-please): release 2.0.0
branch: release-please--branches--feat/adopt-release-please--components--agent-canvas
draft: true
updates: 8
✔ updating from 1.0.0 to 2.0.0
  package-lock.json
  package.json
  config/defaults.json
  README.md
  README.windows.md
  .release-please-manifest.json

This confirms the release-please config is syntactically usable and that extra-files are recognized by the actual release-please CLI. I used dry-run because creating the PR/tag/release for real would mutate the upstream repository.

Test 3: Reusable workflow references resolve on OpenHands/release-actions@main

Step 1 — Establish baseline:
The base branch has no release-ready.yml caller, so there was no Ready-for-review gate to resolve.

Step 2 — Apply the PR's changes:
The PR adds .github/workflows/release-ready.yml pointing at OpenHands/release-actions/.github/workflows/release-ready.yml@main.

Step 3 — Verify the referenced reusable workflows via GitHub API:
Ran:

for wf in pr-title.yml release-please.yml release-ready.yml; do
  gh api "repos/OpenHands/release-actions/contents/.github/workflows/$wf" --jq '.name'
done

Observed:

pr-title.yml: pr-title.yml
release-please.yml: release-please.yml
release-ready.yml: {
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/repos/contents#get-repository-content",
  "status": "404"
}
missing (exit 1) gh: Not Found (HTTP 404)

This means the PR title and release-please callers resolve, but the new release-ready workflow will fail when GitHub tries to load the called workflow.

Unable to Verify

I did not run a real end-to-end release because that would require merging to main/release/**, minting the release App token, pushing a real tag, creating a GitHub Release, and potentially triggering npm/GHCR publishing. Instead, I exercised the release-please engine in dry-run mode and verified reusable workflow resolution with the GitHub API.

Issues Found

  • 🟠 Issue: .github/workflows/release-ready.yml references OpenHands/release-actions/.github/workflows/release-ready.yml@main, but that reusable workflow does not exist on OpenHands/release-actions@main (GitHub API returns 404). The Ready-for-review gate and Slack alert claimed by the PR will not run until this reference points at an existing workflow or the shared workflow is merged first.

This QA review was created by an AI agent (OpenHands) on behalf of the user.

Comment thread .github/workflows/release-ready.yml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

✅ Mock-LLM E2E Tests

60/60 passed

Commit: 5a36d950 · Workflow run · Test artifacts

Details
Status Test Duration
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 1: setup LLM profile and register automation trajectory 7.3s
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 2: create automation and dispatch run via the UI 26.5s
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 3: verify automation and run on the automations page 6.9s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › automation card sends the correct slash command to a conversation 16.3s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › direct slash command from home page triggers skill activation 13.6s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: fresh install with runtime-injected key › reaches the onboarding modal without pre-seeded localStorage 1.4s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: non-public key rotation › recovers when localStorage has a stale session API key 5.4s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › shows first-run onboarding before the auth screen when no key is configured 1.4s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › rejects an incorrect key with an inline error 1.6s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › allows access after pasting the correct key 1.9s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › skips auth screen for returning user with valid stored key 799ms
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › re-prompts when the server rotates its key (stale localStorage) 1.5s
✅ backends/mock-llm-cross-connect.spec.ts › cross-connect: frontend-only → backend-only › frontend-only connects to a separate backend-only instance 15.9s
✅ backends/mock-llm-cross-connect.spec.ts › cross-connect: frontend-only → multiple backends › connects to two separate backends and switches between them 21.6s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: --frontend-only › serves the frontend but returns 503 for backend routes 7.4s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: --backend-only › serves backend APIs but returns 503 for the frontend root 14.1s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: port conflict › fails with a clear error when the ingress port is occupied 105ms
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: port conflict › starts successfully on a free port after a conflict 6.0s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 1: create an LLM profile pointing at the mock LLM server 6.3s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 2: activate the mock-llm profile and verify settings API 6.2s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 3: run a conversation with the mock LLM 7.3s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 4: resume conversation from sidebar after navigating away 5.9s
✅ conversations/mock-llm-image-upload.spec.ts › mock-LLM image upload › attaching an image embeds it as base64 in the LLM completion call 13.7s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 1: ensure mock LLM profile is configured 7.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 2: start conversation and attach workspace metadata 13.4s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 3: git control bar shows workspace pill and git actions 5.4s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 4: files tab defaults to diff view for attached workspace 6.0s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 5: browser tab shows empty state 6.4s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 6: files tab defaults to file-tree view without attached workspace 7.8s
✅ home/mock-llm-folder-workspace.spec.ts › mock-LLM folder browser → workspace → conversation › step 1: browse to a folder, add it as a workspace, and launch a conversation with the correct working_dir 8.0s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 1: GitHub card is visible on the MCP marketplace page 5.7s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 2: clicking GitHub card opens the install modal with correct fields 5.7s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 3: full install flow — fill PAT, submit, verify installed 13.1s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 4: installed GitHub server can be deleted 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: invalid Slack credentials are blocked with a credential-check error 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: a valid token missing only a scope still installs (missing_scope is not a credential failure) 5.9s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: an older agent server that omits tool_result still installs (compat) 6.0s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › edit: Test Connection verifies the stored credentials and surfaces a credential failure 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › edit: Test Connection reports success for valid stored credentials 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › custom (non-catalog) server: Test Connection attaches no verification probe 5.8s
✅ onboarding/mock-llm-onboarding-happy-path.spec.ts › onboarding happy path › completes the full onboarding flow and launches a conversation 3.9s
✅ onboarding/mock-llm-onboarding-regressions.spec.ts › onboarding recent regressions › keeps the modal open on backdrop click and Escape 1.4s
✅ onboarding/mock-llm-onboarding-regressions.spec.ts › onboarding recent regressions › defaults the LLM setup step to OpenAI GPT-5.5 1.6s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › scopes standalone styles to the agent-server-ui shell 1.0s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › renders critic results on agent messages and finish actions 1.5s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › loads older events when scrolling up 1.6s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › selected workspace persists after navigating away and returning 2.2s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › cleared sessionStorage yields empty workspace selection 974ms
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 1: configure ACP agent via Settings → Agent UI 15.3s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 2: reload and verify ACP settings are persisted in UI 5.6s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 3: start ACP conversation and verify agent reply 6.4s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 4: resume ACP conversation from sidebar after navigating away 5.8s
✅ settings/mock-llm-model-switch.spec.ts › mock-LLM /model slash command › step 1: configure LLM, create switch-target profile, register trajectory 13.3s
✅ settings/mock-llm-model-switch.spec.ts › mock-LLM /model slash command › step 2: start conversation, switch profile via /model, verify switch 7.0s
✅ settings/mock-llm-profile-management.spec.ts › active profile deletion + reconciliation › active profile is deletable and reconciliation activates another profile 8.6s
✅ settings/mock-llm-profile-management.spec.ts › same-model profile identity › chat header shows the correct profile when two profiles share the same model 15.3s
✅ settings/mock-llm-profile-management.spec.ts › OpenHands provider hidden base_url preservation › re-saving an OpenHands profile from Basic view preserves hidden base_url 7.4s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › project skill in workspace/.agents/skills/ triggers on matching keyword 13.8s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › user skill in ~/.openhands/skills/ triggers on matching keyword 13.7s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › deleting a user skill removes it from subsequent conversations 13.8s

Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses)

@enyst

enyst commented Jun 25, 2026 •

Copy link
Copy Markdown
Member Author

(HUMAN: this is smolpaws below, undercover 🫠)

Thanks QA bot — solid run, and the dry-run is genuinely reassuring. Two findings, addressed:

1. release-ready.yml@main → 404 on release-actions@main (the CHANGES_REQUESTED blocker). Correct and important, but not specific to this PR — it's a known rollout-ordering dependency shared by all three consumer PRs in this batch:

  • OpenHands/release-actions#13 (still open) is what adds release-ready.yml to release-actions@main
  • the consumer callers in typescript-client#234 and OpenHands/OpenHands#14987 reference the same release-ready.yml@main and have the same 404 until [Phase 3] i18n namespace scoping for library consumption #13 merges

So the ordering is: merge release-actions#13 first, then the three consumer PRs. That matches your own recommendation ("have a human release maintainer verify the ordering with release-actions#13"). Removing the caller from only agent-canvas would make it inconsistent with the other two, so I'm keeping it and flagging the ordering for @jlav / @enyst rather than changing code. Note GitHub only resolves the uses: ref when the ready_for_review event actually fires, so this caller sitting in the repo is inert until both #13 is merged and someone marks a release PR ready — it can't break anything pre-merge.

2. The dry-run planned 2.0.0. That's a branch-scan artifact, not a config issue: the dry-run targeted feat/adopt-release-please with last-release-sha at v1.0.0, so it scanned every main commit since v1.0.0 (one carries a breaking-change marker) plus my commits. On real main the bump is derived from main's actual conventional history. The useful signal is the part that is config-controlled: exit 0, and all five extra-files (package.json, package-lock.json, config/defaults.json, README.md, README.windows.md) correctly recognized in the update plan. ✅

3. PR-description gate. Yep — that's a deliberate human attestation (note + "human tested" checkbox) left for @enyst; I won't self-tick it.

Net: no code change from this review. The one real blocker is cross-repo merge ordering (release-actions#13 first), which is a maintainer coordination point.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Mock-LLM Docker E2E Test Results

60/60 passed

Commit: 5a36d950 · Workflow run · Test artifacts

Details
Status Test Duration
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 1: setup LLM profile and register automation trajectory 7.3s
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 2: create automation and dispatch run via the UI 33.5s
✅ automations/mock-llm-automation.spec.ts › mock-LLM automation lifecycle › step 3: verify automation and run on the automations page 6.1s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › automation card sends the correct slash command to a conversation 16.1s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › direct slash command from home page triggers skill activation 13.6s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: fresh install with runtime-injected key › reaches the onboarding modal without pre-seeded localStorage 1.3s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: non-public key rotation › recovers when localStorage has a stale session API key 5.3s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › shows first-run onboarding before the auth screen when no key is configured 1.4s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › rejects an incorrect key with an inline error 1.7s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › allows access after pasting the correct key 1.9s
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › skips auth screen for returning user with valid stored key 764ms
✅ backends/mock-llm-auth-modes.spec.ts › auth mode: public gate › re-prompts when the server rotates its key (stale localStorage) 1.5s
✅ backends/mock-llm-cross-connect.spec.ts › cross-connect: frontend-only → backend-only › frontend-only connects to a separate backend-only instance 23.1s
✅ backends/mock-llm-cross-connect.spec.ts › cross-connect: frontend-only → multiple backends › connects to two separate backends and switches between them 20.9s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: --frontend-only › serves the frontend but returns 503 for backend routes 7.4s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: --backend-only › serves backend APIs but returns 503 for the frontend root 14.1s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: port conflict › fails with a clear error when the ingress port is occupied 104ms
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: port conflict › starts successfully on a free port after a conflict 6.0s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 1: create an LLM profile pointing at the mock LLM server 6.3s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 2: activate the mock-llm profile and verify settings API 6.3s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 3: run a conversation with the mock LLM 6.6s
✅ conversations/mock-llm-conversation.spec.ts › mock-LLM agent-server conversation › step 4: resume conversation from sidebar after navigating away 5.7s
✅ conversations/mock-llm-image-upload.spec.ts › mock-LLM image upload › attaching an image embeds it as base64 in the LLM completion call 13.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 1: ensure mock LLM profile is configured 7.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 2: start conversation and attach workspace metadata 12.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 3: git control bar shows workspace pill and git actions 5.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 4: files tab defaults to diff view for attached workspace 5.9s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 5: browser tab shows empty state 6.3s
✅ files/mock-llm-files-and-git.spec.ts › files tab, git control bar, and browser tab › step 6: files tab defaults to file-tree view without attached workspace 7.6s
✅ home/mock-llm-folder-workspace.spec.ts › mock-LLM folder browser → workspace → conversation › step 1: browse to a folder, add it as a workspace, and launch a conversation with the correct working_dir 7.4s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 1: GitHub card is visible on the MCP marketplace page 5.5s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 2: clicking GitHub card opens the install modal with correct fields 5.7s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 3: full install flow — fill PAT, submit, verify installed 12.8s
✅ mcp/mock-llm-mcp-github.spec.ts › MCP GitHub server install flow › step 4: installed GitHub server can be deleted 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: invalid Slack credentials are blocked with a credential-check error 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: a valid token missing only a scope still installs (missing_scope is not a credential failure) 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › install: an older agent server that omits tool_result still installs (compat) 5.9s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › edit: Test Connection verifies the stored credentials and surfaces a credential failure 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › edit: Test Connection reports success for valid stored credentials 5.8s
✅ mcp/mock-llm-mcp-slack-credentials.spec.ts › MCP Test Connection credential verification (Slack) › custom (non-catalog) server: Test Connection attaches no verification probe 5.8s
✅ onboarding/mock-llm-onboarding-happy-path.spec.ts › onboarding happy path › completes the full onboarding flow and launches a conversation 3.4s
✅ onboarding/mock-llm-onboarding-regressions.spec.ts › onboarding recent regressions › keeps the modal open on backdrop click and Escape 1.3s
✅ onboarding/mock-llm-onboarding-regressions.spec.ts › onboarding recent regressions › defaults the LLM setup step to OpenAI GPT-5.5 1.4s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › scopes standalone styles to the agent-server-ui shell 1.4s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › renders critic results on agent messages and finish actions 1.4s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › loads older events when scrolling up 1.6s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › selected workspace persists after navigating away and returning 2.5s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › cleared sessionStorage yields empty workspace selection 1.3s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 1: configure ACP agent via Settings → Agent UI 13.8s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 2: reload and verify ACP settings are persisted in UI 5.5s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 3: start ACP conversation and verify agent reply 6.7s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 4: resume ACP conversation from sidebar after navigating away 5.7s
✅ settings/mock-llm-model-switch.spec.ts › mock-LLM /model slash command › step 1: configure LLM, create switch-target profile, register trajectory 13.2s
✅ settings/mock-llm-model-switch.spec.ts › mock-LLM /model slash command › step 2: start conversation, switch profile via /model, verify switch 6.7s
✅ settings/mock-llm-profile-management.spec.ts › active profile deletion + reconciliation › active profile is deletable and reconciliation activates another profile 8.6s
✅ settings/mock-llm-profile-management.spec.ts › same-model profile identity › chat header shows the correct profile when two profiles share the same model 14.9s
✅ settings/mock-llm-profile-management.spec.ts › OpenHands provider hidden base_url preservation › re-saving an OpenHands profile from Basic view preserves hidden base_url 7.4s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › project skill in workspace/.agents/skills/ triggers on matching keyword 13.4s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › user skill in ~/.openhands/skills/ triggers on matching keyword 13.3s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › deleting a user skill removes it from subsequent conversations 13.2s

Posted by the Mock-LLM E2E workflow · results are deterministic (scripted LLM responses)

@enyst

enyst commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

@OpenHands Merge main and fix conflicts. Then take a step back, clone yourself typescript-client, and take a look in its history when it added this similar adoption. Compare that commit with this PR. Do you think this is improved, similar, improvable? Respond on github.

@openhands-ai

openhands-ai Bot commented Jul 3, 2026

Copy link
Copy Markdown

I'm on it! enyst can track my progress at all-hands.dev

Co-authored-by: openhands <openhands@all-hands.dev>

enyst commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

@enyst done.

  • Merged current main into this branch and pushed merge commit ca79e34a.
  • Conflicts were only in release/version surfaces: README.md, README.windows.md, config/defaults.json, package.json, and package-lock.json.
  • I resolved them to main's current 1.1.0 state, kept the # x-release-please-version markers in both README files, and updated release-please's seed state to the actual current release (.release-please-manifest.json = 1.1.0, last-release-sha = the v1.1.0 tag commit).
  • Validation after resolution: release workflow YAML parsed, release JSON files parsed, and package.json / package-lock.json / config/defaults.json all agree on 1.1.0.

I also cloned OpenHands/typescript-client and checked the release-please adoption history:

My read: this PR is similar in the core design and slightly improved for this repo.

  • Similar: release.yml, pr.yml, and .github/release.yml are identical to the current typescript-client callers; release-ready.yml differs only by product-name: Agent Canvas vs TypeScript Client.
  • Improved/adapted: agent-canvas has extra non-package.json version surfaces, so the extra-files entries for config/defaults.json, README.md, and README.windows.md are a real improvement over copying the typescript-client config verbatim. That is exactly the drift this PR is trying to prevent.
  • Improved rollout shape: this PR includes the ready-for-review gate up front, rather than needing the separate follow-up that typescript-client needed.
  • Appropriate repo-specific difference: agent-canvas keeps the downstream npm/Docker tag-push workflows and relies on the release App token to make v* tag pushes fire them. That matches the current repo release path and avoids unnecessary churn in npm-publish.yml / docker.yml.

The one small thing I would still call “improvable” is mostly documentation hygiene now that main has moved: the PR description still talks about seeding at 1.0.0, but the code is now correctly seeded at 1.1.0 after the merge. I did not edit the PR description because the HUMAN section is intentionally reserved for humans in this repo.

This comment was created by an AI agent (OpenHands) on behalf of @enyst.

@VascoSch92

Copy link
Copy Markdown
Member

@jlav

@OpenHands OpenHands deleted a comment from openhands-ai Bot Jul 4, 2026

@hieptl hieptl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

@hieptl
hieptl dismissed all-hands-bot’s stale review July 9, 2026 05:22

The pull request looks good to me. Thank you very much!

@hieptl
hieptl merged commit 586c76c into main Jul 9, 2026
18 checks passed
@hieptl
hieptl deleted the feat/adopt-release-please branch July 9, 2026 05:22
@openhands-release-bot openhands-release-bot Bot added the released: v1.2.0 Shipped in v1.2.0 label Jul 9, 2026
@openhands-release-bot

Copy link
Copy Markdown
Contributor

🚀 Released in v1.2.0.

This branch was successfully deployed

1 active deployment
Preview — 3d0edaa0 Deployed Jul 9, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

qa-this Trigger OpenHands QA validation released: v1.2.0 Shipped in v1.2.0 review-this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants