Repository navigation
test(evals): check app UI headless, not in a desktop window - #5947
Conversation
- probe.desktopApi, agent.desktopApi and the engine session probe find the
local server from localStorage when there is no Electron bridge.
- probe.hash() reports the path route of the app in a browser in the same
"#/workspace/..." form, and go() navigates it through history.
- seed.appWeb focuses the page like a person's window and can report a fine,
hover-capable mouse (mouse: true).
- denForAppWeb + signedInAppWeb replace seed.desktop({ den, as }).
Specs whose world launched Electron for no native reason now use seed.appWeb, so running them locally opens nothing on screen. Specs that need the desktop shell keep it and say why in nativeReason. Also removes world functions no spec uses (most launched the desktop), the duplicate native-Desktop App-creation binding (v1 web runs the same journey), and two stale UI strings in specs touched here.
…tters - AGENTS.md, run-tests, write-a-spec, preview-my-work and drive-desktop-cdp default to the app in headless Chrome and name when the desktop is needed. - dev-app-web --browser opens this checkout's app in headless Chrome and prints its cdp address; cdp.mjs drives path routes too. - An isolated headless world ignores OPENCODE_DB inside a coding agent's shell (OPENCODE=1), which pointed it at the agent host's own database.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
OpenWork evidence
Run details · Open the preview to inspect evidence and sandbox options. |
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of eed12f0edb83cb9b79226adf4df7023f5f818f61 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
Warden: approvedNo high or medium security findings and no confidentiality findings. Reviewed |
The recovery row's details panel animated out with a keyframe on data-closed, which Base UI's Collapsible never saw finish, so a second click on the code icon left the panel open. Fade it with the data-starting-style/data-ending-style transition every other collapsible uses.
- Fault proxy: answer injected Den faults with the caller's origin and credentials, so the app in a browser can read them (a wildcard origin is refused for credentialed requests). - go(): wait for the app's router before pushing a path, so a navigation right after a reload is not lost. - connector-tool-call-branding: wait until Run task accepts the draft before clicking it. - session-error-technical-details: transcript errors keep their raw error behind Technical details for everyone since #5547; the banner and the debug panel stay Developer-mode only. - sidebar-title-overflow-fade: the session titlebar now sits above the pane; check the collapsed toggle clears the macOS window controls and stays centered in it.
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 384662726a3bfe50e2756a350e9a92adff524ef9 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
…e narrow desktop sidebar - connector-tool-call-branding: after reload, wait for the restored Slack row before inspecting it. - seed.session(s): retry session.create_task when it turned disabled between the readiness check and the call; nothing ran. - sidebar-title-overflow-fade: below the breakpoint the desktop keeps its titlebar sidebar toggle (the mobile "Open sidebar" bar is browser-only since #5164).
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 464dcfe003820c860a759eae373035f303f2701f found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
What is this about?
Tests and agent checks of app UI now run in headless Chrome instead of opening the desktop app on the developer's screen.
What problem does it solve?
Agents testing a change kept launching Electron locally: a window popped up and took focus, again on every click and screenshot.
What was the situation before?
93 of 239 E2E specs launched Electron, about half for no native reason, and every hands-on skill pointed at
pnpm devorlive-desktop.How is this implemented?
desktopApi, the engine probe,probe.hash()andgo()work on the app in a browser.seed.appWebstarts focused.denForAppWebandsignedInAppWebreplaceseed.desktop({ den, as }).seed.appWeb. Specs that need the desktop shell keep it and name why innativeReason.dev-app-web --browserprints a CDP address.drive-desktop-cdp,run-tests,write-a-spec,preview-my-workandAGENTS.mdnow default to headless.What else changed?
dev-app-webworld no longer opens the database of the coding agent running it (OPENCODE_DBwhenOPENCODE=1).Release note
none
Evidence
The 25 moved spec files run on the PR head. 20 passed locally, headless. new-split-session, computer-task-mentions, streamed-markdown-answer, session-error-technical-details and saved-app-creation already fail on
devwith the desktop app; on web they fail the same way or later.