Skip to content

fix(control-ui): show only name and schedule in automation rows - #189538

Merged
roboclaw-bot merged 4 commits into
mainfrom
openclaw/quiet-claw-2
Oct 31, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
openclaw/quiet-claw-2

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

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

  • Remove the result/freshness block (SessionAutomationResult) from every automation list row: desktop sidebar (chat-summary-automations), mobile details overview, and the mobile automations list.
  • Delete the now-unused component, its CSS, the automationChecked / automationCheckFailed strings, and the result field of the cached Details snapshot rows. The snapshot reader ignores unknown keys, so cached snapshots that still include result keep parsing.
  • Rows keep the existing right-hand state: schedule, or Paused / Needs attention / running spinner.

Impact

  • Run summaries stay in chat. Freshness and failures stay in the automation's run history on the Automations page.
  • The sidebar no longer marks a failed last run inline. Auto-disabled jobs still show the attention dot and "Needs attention".

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 exactly name + schedule and has no <time>. The mobile list and overview test asserts the same rows have no result, "Check failed", or timestamp.
  • pnpm tsgo:ui and pnpm tsgo:test:ui pass. Stylelint on the changed CSS passes, oxfmt is clean, and git diff --check is clean.
  • Local oxlint did not complete: twice, its plugin-sdk boundary-artifact preparation timed out (ETIMEDOUT) on an overloaded host. This PR leaves the lint result to CI.
  • ui/src/e2e/quiet-automations.real-gateway.e2e.test.ts is updated so its row assertions expect no result text, and the trigger check is proven through cron.get state instead of the removed timestamp. It was not run locally because it needs a real Gateway and provider.
  • Mocked Control UI e2e capture of the desktop Details panel, using the same synthetic job before and after:
Before After
Before: automation row shows the last result summary and "Checked 14m ago" under the name and schedule After: automation row shows only "Session status check" and "Every 1 hour"

Worked on by

roboclaw-bot and others added 2 commits October 31, 2026 15:47
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
@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

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

  • Before: The row also displays the latest result and “Checked 14m ago.”
  • After: The row displays “Session status check” and “Every 1 hour.”

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused patch has no identified correctness defect; visual proof covers desktop rendering through a mocked Gateway, with broader execution evidence limited.
Proof confidence 🦐 gold shrimp (3/6) The ordinary contributor proof gate is exempt for this maintainer-authored PR; inspected browser screenshots demonstrate the desktop rendering change with synthetic Gateway data, without establishing real-Gateway or mobile execution.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Automation rows repeat run details and freshness beneath their name and schedule, making the session sidebar denser than requested.
Reason: The maintainer-authored PR supplies direction and explicitly accepts moving failure inspection to run history while retaining job-state indicators.

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
Reviewed head: 2b725ee1469faba1a074682b8d425bdb04f5af8a

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The updated real-Gateway scenario was not run locally, and no red-on-base execution or mobile screenshot was supplied.
Agent review details

How this fits together

The 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
Loading

Technical review

Best 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

  • Meaningful-result, freshness, and failure display changes intended behavior with a stated reason (721cdad: Keep unchanged automation checks quiet in chat while retaining meaningful results and check visibility in desktop and mobile Details.)
  • Cached automation display projection keeps the original intent (dad7cbe: Restore Details sections together from the bounded pane cache instead of rebuilding them in visible stages.)
  • Shared session inventory and navigation keeps the original intent (9019674: Provide session-linked automations with readable schedules and navigation to their existing Automations page.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned introduction and complete cutover: The introduced diff removes the shared result component from all three consumers, deletes its implementation and styles, and removes its cached projection without adding another renderer or state owner. (ui/src/pages/chat/components/chat-summary-automations.tsx:396, 2b725ee1469f)
  • Current main retains the previous presentation: The fetched main still projects automation results into Details rows; comparison with the merge base shows no change to the central renderer or snapshot schema. (ui/src/pages/chat/components/chat-summary-automations.tsx:407, 095e4fe14185)
  • Recorded product direction and accepted visibility tradeoff: The maintainer-authored body credits @vyctorbrzezowski's request and explicitly accepts removing inline last-run failure markers while preserving auto-disabled attention indicators and run history. (2b725ee1469f)
  • Previous behavior was intentional: fix: keep unchanged automation checks out of chat #182262 deliberately introduced meaningful-result, freshness, and failure presentation; this PR explains its narrower presentation reversal. (ui/src/pages/chat/components/session-automation-result.tsx, 721cdadccb93)
  • No-migration compatibility case: Automation snapshot objects use the existing non-strict reader, which projects declared fields and discards unknown keys, so older rows containing result remain readable; authoritative automation state is unchanged, and this Details schema is absent from the supplied latest-stable tag. (ui/src/lib/snapshot-json.ts:88, 2b725ee1469f)
  • Inspected visual evidence: Both downloaded screenshots were inspected directly: the synthetic desktop row loses its result and freshness block while retaining the same name and hourly schedule; the body identifies the capture as using a mocked Gateway. (2b725ee1469f)

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 9019674 adds ui/src/pages/chat/components/chat-summary-automations.tsx:265 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 901967444973; files: ui/src/pages/chat/components/chat-summary-automations.tsx)

PR surface

Source -86, Tests -23. Total -109 across 9 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 7 1 87 -86
Tests 2 38 61 -23
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 39 148 -109

Labels

Label changes:

  • add P3: This is a bounded presentation simplification with unchanged scheduling, permissions, and authoritative automation state.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a bounded presentation simplification with unchanged scheduling, permissions, and authoritative automation state.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 31, 2026, 12:28 PM ET / 16:28 UTC.

roboclaw-bot and others added 2 commits October 31, 2026 19:14
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: eb57c71a-07b9-4e2a-94ef-4eadbf8ccaa9
@roboclaw-bot
roboclaw-bot merged commit c9a75b2 into main Oct 31, 2026
85 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/quiet-claw-2 branch October 31, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant