Repository navigation
revert(ui): drop the composer waiting card; Details lists processes - #199456
Conversation
The composer "Waiting on <command>" card from #198891 repeats what the session Details sidebar already shows: running processes with Stop and View all processes, plus subagents. Remove the card, its lazy mount, styles, strings and docs, and the wakesSession row field that only the card read. hasExitWake stays for exec and process guidance. Co-authored-by: obviyus <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR removes the composer’s background-process waiting card and its unused response metadata while retaining Details process controls and completion wakes. Example: An idle chat has sh wait-for-deploy.sh running in the background.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: the focused removal has convincing visual proof and no actionable code findings; the failed Swift gate remains unattributed. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe process registry supplies session-scoped observations through Gateway RPCs; the Control UI presents them in Details and Processes, while the execution owner separately delivers completion wakes. flowchart LR
A[Background process registry] --> B[Process observation]
B --> C[Gateway process list]
C --> D[Shared UI observation]
D --> E[Details and Processes]
A --> F[Completion wake owner]
F --> G[Conversation continuation]
Technical reviewBest possible solution: Use Details and Processes as the existing presentation path, removing the card and its exclusive metadata without changing execution or wake ownership. Do we have a high-confidence way to reproduce the issue? This is a presentation preference rather than a broken contract; current-main source and inspected captures establish the two process displays. Is this the best way to solve the issue? The diff is the smallest coherent removal: it deletes the retired renderer and exclusive metadata together, preserves existing owners, and removes only tests for the retired behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 37d977fd28b0. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -256, Tests -89, Docs -2. Total -347 across 12 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 15, 2026, 12:06 AM ET / 05:06 UTC. |
|
Landed as 648924a. The composer waiting card and the |
…penclaw#199456) ## What Problem This Solves The composer **Waiting on `<command>`** card added in openclaw#198891 shows the same running commands that the session **Details** panel already lists under **Processes**, next to **View all processes** and **Subagents**. Two places now report the same background work. ## User Impact The card above the composer is gone. The running background command still appears in **Details → Processes**, where it opens its output and **Stop** is available. Exec completion wakes are unchanged: the agent still continues the chat when the command exits. ## Why This Change Was Made - Removes the card component, its test, its lazy mount in the composer, its selectors in `composer-progress.css`, its three English strings and its docs sentences (`docs/web/control-ui/chat.md`, `docs/gateway/background-process.md`, including the adopted-process mention added later in openclaw#199222). - Removes the optional `wakesSession` field from `sessions.processes.list` rows. Only the card read it: no other reference exists in `ui`, `apps/macos`, `apps/ios`, `apps/android`, `extensions` or `src`, and the Swift and Kotlin protocol models never included it. It is not in any release: `git tag --contains 7f84512` lists no `v*` tag (`v2026.11.5-beta.3` does not contain it). Main and beta are not shipped contracts. - Keeps `hasExitWake`: exec notifications, `process poll` guidance and durable adoption use it. - `protocol:gen`, `ui:validators:gen`, `protocol:gen:swift` and `protocol:gen:kotlin` produce no diff. Net change: 11 insertions, 358 deletions, 12 files. ## Evidence Real isolated Gateway from source with its own port and state, real agent (`gpt-6-astra` through the OpenAI Responses API). The agent itself started `sh wait-for-deploy.sh` as a background exec whose exit wakes the chat, then ended its turn. Before: `main` at `66e7ae55558c`. After: this branch. Desktop 1440×900, dark theme. The avatar is blurred. | State | Before (`main`) | After (this branch) | | --- | --- | --- | | Idle, waiting on the command |  |  | | Details open |  |  | - Before: `.chat-waiters` count 1. After: count 0. - Details → Processes lists `sh wait-for-deploy.sh` and **View all processes** on both sides. - `sessions.processes.list` on the same running command: before `{status: "running", wakesSession: true, …}`; after `{status: "running", …}` with no `wakesSession`. - After the command exited on the branch Gateway, the wake turn ran and the agent replied: "The script completed successfully and reported that deployment finished: v2 is live." Checks: - `ocx test`: `bash-process-observation.test.ts`, `chat-composer-content.test.tsx`, `chat-composer-status.test.tsx`, `chat-pane-side-panels.test.ts`, `chat-processes-panel.test.ts` pass. - `tsgo:ui`, `tsgo:core`, scoped oxlint and oxfmt, `lint:ui:styles` (stylelint), `check:control-ui-controllers`, `ui:i18n:verify` pass. - Control UI budget, `ui:check-performance --base-dist` against the `66e7ae55558c` build: - chat boot CSS gzip −112 B (139439 → 139327); total CSS −112 B gzip / −871 B raw. - chat boot JS: `control-ui-boot-chat` is 506 B smaller raw, but its hash-normalized gzip is +81 B, so chat boot JS reads +54 B gzip (1310823 → 1310877), inside the 64 B build-variance allowance. `gzip -9` of the same chunk is −127 B. Startup JS −21 B, New Session JS −21 B. - `ocx build --dts` passes; the packed tarball integrity check, `openclaw --version` and `openclaw gateway --help` from the packed tarball pass. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
The composer Waiting on
<command>card added in #198891 shows the same running commands that the session Details panel already lists under Processes, next to View all processes and Subagents. Two places now report the same background work.User Impact
The card above the composer is gone. The running background command still appears in Details → Processes, where it opens its output and Stop is available. Exec completion wakes are unchanged: the agent still continues the chat when the command exits.
Why This Change Was Made
composer-progress.css, its three English strings and its docs sentences (docs/web/control-ui/chat.md,docs/gateway/background-process.md, including the adopted-process mention added later in fix(exec): adopted durable commands claim no exit wake after a Gateway restart #199222).wakesSessionfield fromsessions.processes.listrows. Only the card read it: no other reference exists inui,apps/macos,apps/ios,apps/android,extensionsorsrc, and the Swift and Kotlin protocol models never included it. It is not in any release:git tag --contains a519dcflists nov*tag (v2026.11.5-beta.3does not contain it). Main and beta are not shipped contracts.hasExitWake: exec notifications,process pollguidance and durable adoption use it.protocol:gen,ui:validators:gen,protocol:gen:swiftandprotocol:gen:kotlinproduce no diff.Net change: 11 insertions, 358 deletions, 12 files.
Evidence
Real isolated Gateway from source with its own port and state, real agent (
gpt-6-astrathrough the OpenAI Responses API). The agent itself startedsh wait-for-deploy.shas a background exec whose exit wakes the chat, then ended its turn. Before:mainat5fbdf6989130. After: this branch. Desktop 1440×900, dark theme. The avatar is blurred.main).chat-waiterscount 1. After: count 0.sh wait-for-deploy.shand View all processes on both sides.sessions.processes.liston the same running command: before{status: "running", wakesSession: true, …}; after{status: "running", …}with nowakesSession.Checks:
ocx test:bash-process-observation.test.ts,chat-composer-content.test.tsx,chat-composer-status.test.tsx,chat-pane-side-panels.test.ts,chat-processes-panel.test.tspass.tsgo:ui,tsgo:core, scoped oxlint and oxfmt,lint:ui:styles(stylelint),check:control-ui-controllers,ui:i18n:verifypass.ui:check-performance --base-distagainst the5fbdf6989130build:control-ui-boot-chatis 506 B smaller raw, but its hash-normalized gzip is +81 B, so chat boot JS reads +54 B gzip (1310823 → 1310877), inside the 64 B build-variance allowance.gzip -9of the same chunk is −127 B. Startup JS −21 B, New Session JS −21 B.ocx build --dtspasses; the packed tarball integrity check,openclaw --versionandopenclaw gateway --helpfrom the packed tarball pass.