Repository navigation
fix: keep update chat messages short and helpful - #163318
Conversation
|
🦞👀 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. |
|
@clawsweeper re-review Please review current head |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 3:02 AM ET / 07:02 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR gives update progress, completion, restart recovery, and command replies concise wording while retaining detailed diagnostics in update status views. Merge readiness✅ Ready for maintainer review No actionable introduced defect found. Current main still sends detailed reports to chat, so this PR remains useful; the prior timing follow-up is addressed with available measurements and disclosed gaps. Likely related people: vincentkoc and steipete, both medium-confidence routing candidates from merged update work. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw's update notification subsystem receives update outcomes and restart recovery records, then delivers messages to the requesting conversation. Detailed status views separately expose saved diagnostics and recovery guidance. flowchart TD
A[Update request] --> B[Update outcome record]
B --> C[Conversation notice renderer]
C --> D[Existing delivery owner]
D --> E[Chat or session transcript]
B --> F[Detailed status report]
F --> G[Settings Updates or CLI status]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource 0, Tests +100, Docs +3. Total +103 across 17 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Use one concise conversation renderer while keeping diagnostic and recovery details accessible through the existing update status surfaces. Do we have a high-confidence way to reproduce the issue? Not applicable as a wording cleanup; pinned current-main source confirms that chat completion notices currently include the detailed diagnostic report. Is this the best way to solve the issue? Yes. A shared conversation renderer is a focused solution, and the patch preserves detailed status reports, supplied manual commands, and existing delivery contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b7cf8fa5a69f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
* fix: keep update chat messages short and helpful * test: expect concise update handoff failure notices * test: expect concise update permission notices
What Problem This Solves
Fixes: update notifications overwhelm chats with internal diagnostics, paths, warnings, and recovery history.
User Impact
Update messages now give a brief, plain-language outcome and point to Settings → Updates in the Control UI or
openclaw update statusfor details. Supplied manual update commands remain intact.Why This Change Was Made
Normal progress, completion, restart recovery, and
/updatereplies now use the same concise wording. Detailed CLI reports and saved recovery facts remain available for troubleshooting.Evidence
git diff --checkpasses.90ea0b14243a9de2f027080c920570fe293b5ce0; the final revision only additionally updates the permission-notice expectation, whose 24 tests pass locally.Measured test-case time from the retained runner output (summed within each file; excludes setup/import/build):
src/gateway/update-run-notice.test.tssrc/gateway/server-restart-sentinel-notice.test.tssrc/gateway/server-restart-sentinel.test.tssrc/gateway/server-methods/update.test.tssrc/infra/update-run-report.test.tssrc/cli/update-cli/update-command-post-update-recovery.test.tssrc/auto-reply/reply/commands-update.test.tsThe local owner suite took 90.20 s including setup and imports. Per-file timings for the notice renderer and handoff suite were not retained; their passing results are recorded above. The Testbox gateway shard took 77.56 s, report shard 1.78 s, post-update recovery shard 22.42 s, and command shard 1.49 s. At 06:59 UTC, completed successful jobs in current-head CI accounted for 7263 job-seconds; remaining checks were still running. These are elapsed job seconds, not billed compute seconds.