Repository navigation
fix(control-ui): show only name and schedule in automation rows - #189538
Conversation
Automation rows in the session details sidebar repeated the last meaningful result, a "Checked" freshness timestamp, and a "Check failed" marker under every automation. Drop that block so each row is just the automation name and its schedule (or paused/attention/running state). Run results stay in chat and the automation's run history. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 1abeead8-7394-46a9-aa14-b0f541889d8f
|
🦞👀 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 run summaries, check timestamps, and failure markers from desktop and mobile automation rows while retaining names, schedules, and existing job-state indicators. Example: The Details panel lists “Session status check,” scheduled every hour.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: the presentation change is coherent, and no introduced defect was found; failed CI still prevents landing. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI projects Gateway-owned automation inventory into desktop Details, mobile Details, and a mobile list, with a bounded browser snapshot for restoring desktop display. flowchart TD
A[Gateway automation inventory] --> B[Shared session inventory]
B --> C[Desktop Details rows]
B --> D[Mobile Details rows]
B --> E[Mobile automation list]
C --> F[Browser display snapshot]
F --> C
Technical reviewBest possible solution: Land the focused removal through the existing presentation owners once the failed CI gate is resolved or supported by an authorized inherited-failure exception. Do we have a high-confidence way to reproduce the issue? Current-main source and the inspected before screenshot establish the existing presentation; this is an intentional preference change rather than a demonstrated runtime defect. Is this the best way to solve the issue? The patch is the smallest complete presentation change: it removes every consumer and the unused component, styles, strings, and cached result projection without changing the inventory owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 095e4fe14185. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -86, Tests -23. Total -109 across 9 files. Added test files: 0. View PR surface stats
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 October 31, 2026, 12:28 PM ET / 16:28 UTC. |
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: eb57c71a-07b9-4e2a-94ef-4eadbf8ccaa9
Problem
Each automation row in the session details sidebar showed more than the automation itself: under the name and schedule it repeated the last meaningful run result (clamped to two lines), a muted "Checked 14m ago" freshness line, and a "Check failed" marker after a failed run. Requested by @vyctorbrzezowski: the row should be the automation name and its time only.
Solution
SessionAutomationResult) from every automation list row: desktop sidebar (chat-summary-automations), mobile details overview, and the mobile automations list.automationChecked/automationCheckFailedstrings, and theresultfield of the cached Details snapshot rows. The snapshot reader ignores unknown keys, so cached snapshots that still includeresultkeep parsing.Impact
Evidence
node scripts/run-vitest.mjs run ui/src/pages/chat/components/chat-summary-automations.test.tsx: 31/31 pass. The rewritten test seeds a job with a meaningful result, an error status, and a trigger check, then asserts that the row text is exactlyname + scheduleand has no<time>. The mobile list and overview test asserts the same rows have no result, "Check failed", or timestamp.pnpm tsgo:uiandpnpm tsgo:test:uipass. Stylelint on the changed CSS passes, oxfmt is clean, andgit diff --checkis clean.ETIMEDOUT) on an overloaded host. This PR leaves the lint result to CI.ui/src/e2e/quiet-automations.real-gateway.e2e.test.tsis updated so its row assertions expect no result text, and the trigger check is proven throughcron.getstate instead of the removed timestamp. It was not run locally because it needs a real Gateway and provider.Worked on by