Repository navigation
test(e2e): chat through Hermes's dashboard and keep interface tokens out of state - #14559
Merged
Merged
Conversation
…out of state The interfaces case now holds a Hermes browser chat turn through the dashboard's /api/pty WebSocket, with the page's session token and origin, and checks that no token from a token file is in the deployment's state or apply's output. The real chat replaces the pseudo-terminal stand-in, and live-tests.md names what covers rejected interfaces, refused tokens, and a killed interface process now that #14060's tests are gone. Part of #14289. Signed-off-by: Carlos Villela <[email protected]>
Collaborator
Author
Authoring session — opening
|
Contributor
…rmes browser chat Signed-off-by: Carlos Villela <[email protected]>
cv
enabled auto-merge (squash)
November 17, 2026 21:07
Signed-off-by: Carlos Villela <[email protected]> # Conflicts: # internal-docs/contributing/live-tests.md
6 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The live
docker-openclaw-hermes-interfacescase now holds a Hermes browser chat turn through the dashboard's/api/ptyWebSocket, and checks that no interface token reaches the deployment's state or apply's output.Problem
Part of #14289. The case checked Hermes's browser chat only through a stand-in, a command that opens a pseudo-terminal in the sandbox. Nothing showed that a chat through the reported forward reached the model. live-tests.md also said that refused tokens, a killed dashboard process, and tokens kept out of output and state were integration checks under #14060, but #14178 and #14179 deleted those tests.
Still left in #14289: a Hermes terminal UI turn (after #14102) and an integration test for a refused mount. OpenClaw's Control UI chat stays with Fabric: NemoClaw won't add a client for OpenClaw's Gateway protocol, and NVIDIA/NeMo-Fabric#655 runs OpenClaw's native interface tests, Control UI chat among them, in Fabric's CI.
Change
hcl_live::interfacetakes a prompt. With one, it connects to the path as a WebSocket, with the page's session token and the page's origin. It waits for the screen to draw and settle, types the prompt, then sends Enter on its own, and reads the screen until the expected text appears. This reuses the driver from before test(e2e): move the agent interfaces to an HCL E2E scenario #14179.visible()shows cursor-forward moves as spaces, because Hermes's terminal UI moves the cursor between words instead of writing spaces.interfacesrun adds abrowser_chattarget. Its prompt carries a new stub marker,browser, so the replynemoclaw-stub-reply browser notesshows that this turn's prompt reached the model. The chat also needs the image's/dev/ptsgrant, so thehermes_pseudo_terminalcommand is removed.interfacemodule takes that result asreported.fabric_compatibility.rsand NeMo Fabric'stest_hermes_interfaces.pyat the pinned revision. Hermes and OpenClaw own their token checks. It cites [Enhancement]: Run the native OpenClaw interface tests in CI against the pinned OpenClaw NeMo-Fabric#655 for OpenClaw's Control UI chat and [Enhancement]: Test Hermes browser chat through the real /api/pty and plan interfaces.terminal's graduation NeMo-Fabric#656 for Fabric's own test of Hermes's browser chat through/api/pty.verify-fabric-boundaryskill's Hermes web UI row says that the live case covers one answered turn, so the skill check owns the file effect, the reconnect, and the later phases.Beyond CI
On linux arm64,
cargo ci live-docker --hcl-cases docker-openclaw-hermes-interfacespassed. The case took 105.8 s, and theinterfacesrun took 10.2 s. Before the final runs, temporary targets showed that each new assertion fails:HTTP 403;