Repository navigation
Improve Cron run history UX - #814
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 25, 2026, 5:25 PM ET / 21:25 UTC. Summary Reproducibility: not applicable. as a feature/UX PR; this is not a broken-current-main bug report. Current-main source inspection confirms the old compact history/send-only behavior, and the PR screenshots demonstrate the proposed UI behavior. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land after maintainers accept or smoke-test response-aware Do we have a high-confidence way to reproduce the issue? Not applicable as a feature/UX PR; this is not a broken-current-main bug report. Current-main source inspection confirms the old compact history/send-only behavior, and the PR screenshots demonstrate the proposed UI behavior. Is this the best way to solve the issue? Yes, subject to compatibility acceptance. The PR is a maintainable path because it keeps interface source compatibility, sanitizes displayed run text, adds focused tests, and now covers the legacy AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c939e3907546. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
Show full run responses in expandable history entries, preserve expanded state during refresh, and keep run controls stable while jobs execute. Add response-aware cron.run handling so declined runs surface a warning and gateway-compatible payloads continue to work. Co-authored-by: Copilot <[email protected]>
Add the new Cron run API to the merged pairing test fake and isolate WebSocket reconnect timing tests from full-suite parallel interference. Co-authored-by: Copilot <[email protected]>
Treat accepted legacy cron.run acknowledgements as started and keep RunCronJobDetailedAsync source-compatible for existing operator client implementations. Co-authored-by: Copilot <[email protected]>
Add loopback coverage proving response-aware cron.run retries the legacy id/force payload when a gateway rejects the new jobId shape. Co-authored-by: Copilot <[email protected]>
c4d4514 to
b6d51eb
Compare
Why this matters
Cron jobs can produce rich, multi-paragraph LLM answers, but the Windows Cron History view was only useful as a short status summary. That made one-time runs feel lossy: users could see that a job succeeded, but not easily inspect the actual answer, navigate to the run chat, or confidently re-run the same task without the UI shifting underneath them.
This PR makes Cron History behave more like a real run transcript surface instead of a compact log row.
What improved
Run Now,Edit,Remove, and the enabled toggle are disabled while a run is active;Historystays available so users can inspect prior/current results.cron.runpath so it can distinguish “enqueued” from “declined” and show a visible warning instead of looking like the button did nothing.jobIdrequest shape with fallback for older schemas.User-visible result
After this change, a user can run a one-time Cron task, watch the row enter a clear running state, keep focus where they put it, and then expand the run history to read the complete LLM answer without leaving the Cron page. If the run has a backing chat session, they can jump to it with Open chat.
Validation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restoregit diff --checkScreenshots
UI while re-running a Cron task:

Showing the full LLM response in the UI:
