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

fix(examples): inherit acp-docker image from config/defaults.json - #1434

Merged
enyst merged 7 commits into
OpenHands:mainfrom
georgeglarson:feat-acp-docker-env-sync
Jun 26, 2026
Merged

enyst merged 7 commits into
OpenHands:mainfrom
georgeglarson:feat-acp-docker-env-sync

Conversation

@georgeglarson

@georgeglarson georgeglarson commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

HUMAN:

  • Verified locally: docker compose config resolves latest-python (zero-config) and 1.28.1-python (after npm run example:acp-docker:env); npx vitest run __tests__/scripts/acp-docker-env-sync.test.ts → 9 passed.
  • A human has tested these changes.

AGENT:


Why

examples/acp-docker/docker-compose.yml hardcoded agent-server:1.25.0-python. Canvas enforces compatibility.minimumAgentServer (1.28.0) from config/defaults.json, so the example's default image fell below the floor and rendered "Disconnected — requires 1.28.0 or newer" — a user following the quickstart as written never reached the feature. examples/acp-docker was the only in-repo file hardcoding a version instead of inheriting from the single source of truth.

Summary

  • New scripts/gen-acp-docker-env.mjs (+ npm run example:acp-docker:env) pins AGENT_SERVER_IMAGE to ${images.agentServer}:${versions.agentServer}-python from config/defaults.json (idempotent upsert; mirrors scripts/docker-build.mjs).
  • Compose no-config fallback 1.25.0-python → latest-python (always ≥ the floor; zero-config docker compose up never shows "Disconnected"). .env.example + README.md document both paths and correct the version narrative (floor = the defaults.json compatibility pin; fix(ci): repo owner for docker pull OpenHands#3510 is the deeper functional floor at/below it).
  • New __tests__/scripts/acp-docker-env-sync.test.ts (mirrors docs-version-sync.test.ts) — the guard that makes "can't silently drift" true.

Issue Number

Closes #2020

How to Test

npm ci

# zero-config path → latest-python (always >= the compatibility floor)
cd examples/acp-docker && docker compose config | grep 'image:'
#     image: ghcr.io/openhands/agent-server:latest-python

# reproducible pinned path → SoT version from config/defaults.json
cd ../.. && npm run example:acp-docker:env
cd examples/acp-docker && docker compose config | grep 'image:'
#     image: ghcr.io/openhands/agent-server:1.28.1-python

# the drift guard
cd ../.. && npx vitest run __tests__/scripts/acp-docker-env-sync.test.ts   # 4 passed

Verified end-to-end on Linux: docker compose config resolves both images as shown above; full __tests__/scripts suite green (168 passed); npm run typecheck clean.

Type

  • Bug fix

Notes

examples/acp-docker/.env is gitignored; the generator writes it. Separate concern from OpenHands/OpenHands#15643/#1430 (the ACP auth banner) — its own issue + PR.

examples/acp-docker/docker-compose.yml hardcoded the agent-server image at
`1.25.0-python`. Canvas enforces `compatibility.minimumAgentServer` (1.28.0)
from the repo's single source of truth, so the example default fell below the
floor and rendered "Disconnected — requires 1.28.0 or newer" — a reviewer
following the quickstart as written never reached the feature.

examples/acp-docker was the lone in-repo file hardcoding a version instead of
inheriting from config/defaults.json (14 other files read it; check-sdk-version
-sync only validates the released PyPI package, not in-repo files).

- scripts/gen-acp-docker-env.mjs: read defaults.json, pin AGENT_SERVER_IMAGE to
  `${images.agentServer}:${versions.agentServer}-python` in examples/acp-docker
  /.env (idempotent upsert; mirrors scripts/docker-build.mjs).
- package.json: `npm run example:acp-docker:env`.
- docker-compose.yml: no-config fallback `1.25.0-python` -> `latest-python`,
  always >= the compatibility floor, so zero-config `docker compose up` never
  shows "Disconnected"; the generated .env overrides with the pinned SoT
  version for the reproducible path.
- .env.example / README.md: document both paths; correct the version narrative
  (floor is the defaults.json compatibility pin; #3510 is the deeper functional
  floor at/below it).
- __tests__/scripts/acp-docker-env-sync.test.ts: assert the generator's tag
  matches defaults.json, the pin satisfies the floor, and the compose fallback
  stays `latest-python`. Mirrors docs-version-sync.test.ts — the guard that
  makes "can't silently drift" true.
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

@georgeglarson is attempting to deploy a commit to the openhands Team on Vercel.

A member of the Team first needs to authorize it.

Addresses the cli-review-panel findings worth acting on (the rest were
cosmetic or matched the no-validation idiom of scripts/docker-build.mjs):

- gte() in the test guarded with parseSemver — a non-numeric pin (sha /
  pre-release) now fails the floor check loudly instead of silently
  comparing NaN. The floor check is a CI gate; its one piece of logic
  shouldn't mis-compare in silence.
- compose-fallback assertion derives the registry from config.images
  .agentServer instead of hardcoding ghcr.io/openhands/... — a registry
  change no longer false-fails a test that only cares about the latest-python
  tag.
- upsertEnvLine now has unit tests (append / replace-in-place+preserve /
  idempotent / commented-template-line / keyless-line guard), making the
  "idempotent upsert" claim defensible. It was the one untested piece of real
  logic.
- upsertEnvLine guards a keyless line (no "=") with a clear throw, instead of
  an empty key matching every line and rewriting the whole file.
@georgeglarson
georgeglarson marked this pull request as ready for review June 19, 2026 18:15
Copilot AI review requested due to automatic review settings June 19, 2026 18:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes drift in the examples/acp-docker quickstart by removing a hardcoded, below-minimum agent-server image tag and instead deriving the pinned image version from the repo’s single source of truth (config/defaults.json). This aligns the example with the frontend’s enforced minimum agent-server compatibility floor and prevents users from hitting a “Disconnected — requires … or newer” banner when following the docs.

Changes:

  • Add a small generator script (scripts/gen-acp-docker-env.mjs) plus an npm script to write/update examples/acp-docker/.env with AGENT_SERVER_IMAGE=<registry>:<versions.agentServer>-python from config/defaults.json.
  • Update the compose no-config fallback image to ghcr.io/openhands/agent-server:latest-python and refresh example docs/templates to explain the pinned vs. zero-config paths.
  • Add a Vitest drift-guard ensuring the compose fallback and generated pinned image stay in sync with config/defaults.json (and that the pinned version satisfies the compatibility floor).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/gen-acp-docker-env.mjs New generator that upserts AGENT_SERVER_IMAGE in examples/acp-docker/.env using config/defaults.json.
package.json Adds example:acp-docker:env script to run the generator.
examples/acp-docker/README.md Updates quickstart to default to latest-python and documents the reproducible pinned .env flow.
examples/acp-docker/docker-compose.yml Switches compose fallback from a hardcoded version to latest-python and documents the SoT pin workflow.
examples/acp-docker/.env.example Updates comments/template to reflect latest-python default and the generator-based pinned approach.
__tests__/scripts/acp-docker-env-sync.test.ts New drift-detection tests enforcing SoT version inheritance and compatibility-floor satisfaction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

🔍 Review in progress…

We are performing the review through OpenHands Cloud Automation. You can log in and view the conversation here.

@all-hands-bot

Copy link
Copy Markdown
Contributor

🤖 OpenHands is reviewing this PR.

Trigger label: canvas-review
Label event: 27047293017 at 2026-06-22T14:43:26Z
Head commit: bf2e6c73d05bf879bf5f2ac18e24b6b1602987a7
View the conversation: https://unsubmissive-awesomely-avah.ngrok-free.dev/conversations/a33d97a8-6861-4906-9d08-39c09dca8ec0

This comment was posted by an AI agent (OpenHands).

@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.

Summary

Real fix for a user-facing regression, with a real drift-detection test. scripts/gen-acp-docker-env.mjs reads versions.agentServer from config/defaults.json and upserts AGENT_SERVER_IMAGE= into examples/acp-docker/.env; docker-compose.yml falls back to latest-python when no .env is present so the no-config path can never silently drop below compatibility.minimumAgentServer again. The __tests__/scripts/acp-docker-env-sync.test.ts suite reads the actual compose file and asserts both the SoT-derived pin and the latest-python fallback, so the 1.25.0-python regression can't recur without CI catching it.

Verified locally on this branch:

  • npx vitest run __tests__/scripts/acp-docker-env-sync.test.ts → 9/9 passed
  • node scripts/gen-acp-docker-env.mjs writes the correct line and is idempotent on re-run
  • docker compose config resolves both the pinned and fallback paths correctly
  • .env is already gitignored at the repo root (.gitignore line 4), so the script can't accidentally commit secrets

A few non-blocking comment-density suggestions in-line. Worth merging.


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

Comment thread examples/acp-docker/docker-compose.yml Resolved
Comment thread examples/acp-docker/.env.example Resolved
@all-hands-bot

Copy link
Copy Markdown
Contributor

Note: This review was generated by an AI agent (OpenHands) on behalf of the user.

Thanks for tightening the ACP Docker example around config/defaults.json. The overall direction looks good: the compose fallback no longer pins an unsupported image, the generator is small/idempotent, and the new drift tests cover the intended zero-config and reproducible-pinned paths.

I found one correctness issue that should be fixed before merge:

  1. scripts/gen-acp-docker-env.mjs:98 assumes process.argv[1] is always defined when the module is imported. It is not guaranteed to be present in all ESM import contexts; for example, a lightweight import check with node --input-type=module -e "import('./scripts/gen-acp-docker-env.mjs')" throws TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined before any exported helper can be used. Since this file exports helpers and is intentionally imported by tests/future consumers, the entrypoint guard should match the safer pattern already used by several existing scripts:
    if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
      main();
    }
    This preserves CLI behavior while making the module safe to import.

One additional maintainability note: there are still below-floor 1.25.0-python runbook references in tests/e2e/live-acp/README.md and tests/e2e/live-acp/acp-docker-e2e.mts. They are outside the changed example path, but they partially undermine the “no stale ACP Docker image guidance” goal and may confuse humans running the live ACP checks against current Canvas compatibility expectations. Please either update those references or explicitly clarify that those scripts intentionally bypass the Canvas compatibility gate.

Security-wise, I did not see any new credential handling risk; the generator only upserts AGENT_SERVER_IMAGE and preserves existing .env contents. git diff --check passed. I did not run the Vitest suite because the fresh clone did not have dependencies installed; the lightweight import check above is what surfaced the blocking issue.

🔄 CHANGES REQUESTED

This comment was posted by an AI agent (OpenHands).

all-hands-bot commented Jun 22, 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.

@jamiechicago312

Copy link
Copy Markdown
Contributor

Hi @georgeglarson do you mind addressing the comments left by the all-hands-bot

Then feel free to @ me or join the slack to ask for a PR review in #proj-agent-canvas

… argv[1]

The CLI entrypoint guard called pathToFileURL(process.argv[1]) unconditionally.
process.argv[1] is undefined in some ESM contexts (e.g. importing the module for
its exports via `node --input-type=module -e "import(...)"`), so the guard threw
ERR_INVALID_ARG_TYPE at import, before any exported helper was reachable.

Short-circuit on process.argv[1] before pathToFileURL so importing the module is
side-effect-free while the CLI path is unchanged. Add a regression test that
reproduces the bare-import context and asserts a clean exit.

Addresses the review finding on #1434.
@georgeglarson

Copy link
Copy Markdown
Contributor Author

The entrypoint-guard fix is pushed (a42c663): guarded process.argv[1] before pathToFileURL, with a regression test that imports the module via node --input-type=module -e "import(...)" and asserts a clean exit.

On the second note: the 1.25.0-python references under tests/e2e/live-acp/ are a different kind of pin from the example default this PR fixes. They state the feature floor for the live ACP test: software-agent-sdk#3510 first shipped in 1.25.0, and that test needs it to resolve loopback LookupSecrets off the event loop. That floor is intentionally lower than the Canvas compatibility floor (1.28.0), so bumping the number would overstate what the live test actually requires. I left them as-is, but happy to add a one-line note distinguishing the two floors if that reads clearer.

Address all-hands-bot's review suggestions on #1434:
- test header describes the current invariant, not the prior-state history
  (that narration belonged in the PR description)
- docker-compose.yml: condense the image-pin comment to the how-to-override;
  the compatibility-floor / #3510 rationale already lives in README §1 + the test
- .env.example: 7-line pin explainer down to 2

Comment-only; env-sync test still 10/10 green, prettier clean.
@georgeglarson

Copy link
Copy Markdown
Contributor Author

@jamiechicago312 cleared the all-hands-bot comments (trimmed the over-verbose comments in the test, compose, and .env files). Ready for another look whenever you get a chance, thanks!

@vercel

vercel Bot commented Jun 26, 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 Jun 26, 2026 5:44pm

Request Review

Comment thread examples/acp-docker/docker-compose.yml Resolved
Comment thread examples/acp-docker/README.md Resolved
Comment thread scripts/gen-acp-docker-env.mjs Resolved
Co-authored-by: openhands <openhands@all-hands.dev>
@enyst

enyst commented Jun 26, 2026

Copy link
Copy Markdown
Member

@OpenHands WDYT? /codereview this PR. Feel free to clone yourself agent-sdk from the same org, and investigate. Read all comments and inline reviews, and feel free to reply with your thoughts too.

Post your feedback as a review with gh api.

@openhands-ai

openhands-ai Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

@OpenHands OpenHands deleted a comment from openhands-ai Bot Jun 26, 2026

@enyst enyst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note: This review was generated by an AI agent (OpenHands) on behalf of the user.

🟢 Taste Rating: Good taste

LGTM. The PR solves the real drift problem with a small, direct mechanism: zero-config Compose falls back to latest-python, while the reproducible path pins from the same config/defaults.json source used by the launchers. The generator is idempotent, import-safe after the entrypoint guard fix, and the new Vitest coverage exercises the important invariants plus the .env upsert behavior.

I also agree with the latest README guidance: in the realistic upgrade paths, newer Canvas brings the matching/newer agent-server default through config/defaults.json; the meaningful exception is a user-owned stale .env/shell override, and the README now documents that remediation clearly.

Local checks I ran here:

  • git diff --check origin/main...HEAD
  • node --input-type=module -e "import('./scripts/gen-acp-docker-env.mjs').then(...)" import/helper smoke check

I did not rerun Vitest locally because this checkout has no node_modules; the PR body already includes the targeted Vitest and script-suite results. Current PR checks only show the Vercel authorization gate, not a code/test failure.

[RISK ASSESSMENT]

  • [Overall PR] ⚠️ Risk Assessment: 🟢 LOW

Docs/example/script-only change scoped to examples/acp-docker, plus an npm helper script and drift tests. No credential-handling expansion beyond preserving user-owned .env contents and no production frontend/runtime behavior change.

VERDICT:
✅ Worth merging: Core logic is sound, the realistic version paths are now accurately documented, and the stale-override edge case is handled in user-facing guidance.

KEY INSIGHT:
The fix keeps version ownership in config/defaults.json for the reproducible path without making the zero-config Docker example depend on a stale hardcoded release tag.

@enyst enyst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🟢 Taste Rating: Good taste — this is a small, practical fix that removes a stale hardcoded image and makes the reproducible path inherit from config/defaults.json.

Reviewed the latest head (41c03413) plus the prior comments/inline threads. The earlier entrypoint-guard issue is fixed, and the version-guidance cleanup now matches the realistic paths: zero-config Compose uses the existing latest-python image, while npm run example:acp-docker:env pins to the exact release from the repo defaults.

Verification I ran:

  • git diff --check origin/main...HEAD
  • Import guard: node --input-type=module -e "import('./scripts/gen-acp-docker-env.mjs')"
  • Generator helper smoke check for AGENT_SERVER_IMAGE=ghcr.io/openhands/agent-server:1.28.1-python
  • docker compose config resolves both fallback latest-python and pinned 1.28.1-python
  • docker manifest inspect succeeds for both ghcr.io/openhands/agent-server:latest-python and the pinned 1.28.1-python

I did not run the Vitest suite because this checkout has no node_modules; the lightweight checks above cover the code paths I wanted to verify locally, and the PR description includes the focused test run.

[RISK ASSESSMENT]

  • [Overall PR] ⚠️ Risk Assessment: 🟢 LOW
    This touches an example compose file, docs, a small local generator script, and focused drift tests. No dependency changes, no production runtime path, and no new credential exposure — the generator only upserts the image line in a gitignored .env while preserving the rest of the file. The only currently failing check I saw is Vercel authorization, not a code failure.

VERDICT:
✅ Worth merging

KEY INSIGHT:
The split between a floating quickstart image and a reproducible config-derived pin is the right data model for this example.

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

@openhands-ai

openhands-ai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Done — I reviewed PR #1434 and posted feedback via GitHub API as an approving review:

#1434 (review)

I also replied to the remaining inline question about latest-python vs the generator: latest-python is the low-friction floating quickstart path, while the generator is still useful for reproducible release pinning and stale .env remediation.

Checks I ran locally:

  • git diff --check origin/main...HEAD
  • Import guard smoke test for scripts/gen-acp-docker-env.mjs
  • Generator helper smoke check
  • docker compose config for both fallback and pinned images
  • docker manifest inspect for:
    • ghcr.io/openhands/agent-server:latest-python
    • ghcr.io/openhands/agent-server:1.28.1-python

I did not install dependencies or run Vitest because node_modules is absent in this checkout. The workspace is clean.

@enyst
enyst enabled auto-merge (squash) June 26, 2026 19:23
@enyst
enyst merged commit fa27075 into OpenHands:main Jun 26, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

✅ Mock-LLM E2E Tests

60/60 passed

Commit: 4166514e · 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.4s
✅ 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.2s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › automation card sends the correct slash command to a conversation 16.2s
✅ automations/mock-llm-preset-automation.spec.ts › preset automation → slash command conversation › direct slash command from home page triggers skill activation 14.0s
✅ 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.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.8s
✅ 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 16.9s
✅ backends/mock-llm-cross-connect.spec.ts › cross-connect: frontend-only → multiple backends › connects to two separate backends and switches between them 21.4s
✅ backends/mock-llm-partial-stack.spec.ts › partial stack: --frontend-only › serves the frontend but returns 503 for backend routes 7.3s
✅ 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.2s
✅ 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.4s
✅ 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.6s
✅ 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.4s
✅ 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.6s
✅ 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 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 8.1s
✅ 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.6s
✅ 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) 6.0s
✅ 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 4.4s
✅ 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.5s
✅ 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.6s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › loads older events when scrolling up 1.9s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › selected workspace persists after navigating away and returning 2.7s
✅ regressions/mock-llm-ui-regressions.spec.ts › UI regressions › cleared sessionStorage yields empty workspace selection 1.4s
✅ settings/mock-llm-acp-agent.spec.ts › mock-LLM ACP agent conversation › step 1: configure ACP agent via Settings → Agent UI 13.9s
✅ 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.3s
✅ 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.9s
✅ settings/mock-llm-profile-management.spec.ts › active profile deletion + reconciliation › active profile is deletable and reconciliation activates another profile 8.9s
✅ 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.6s
✅ 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 14.5s
✅ skills/mock-llm-skills.spec.ts › skill loading: project, user, and deletion › user skill in ~/.openhands/skills/ triggers on matching keyword 13.6s
✅ 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)

@openhands-release-bot

Copy link
Copy Markdown
Contributor

🚀 Released in v1.2.0.

@openhands-release-bot openhands-release-bot Bot added the released: v1.2.0 Shipped in v1.2.0 label Jul 9, 2026
@nnqbao nnqbao mentioned this pull request Jul 14, 2026
3 of 6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

canvas-review Experimental code review from an a shared agent canvas instance released: v1.2.0 Shipped in v1.2.0 review-this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: examples/acp-docker hardcodes agent-server version below the Canvas compatibility floor

5 participants