feat(status): show session duration in footer#88988
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 19, 2026, 6:51 AM ET / 10:51 UTC. Summary PR surface: Source +12, Tests +2. Total +14 across 2 files. Reproducibility: not applicable. this is a feature PR rather than a reproducible bug. Source and release checks show current main and Review metrics: none identified. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the shared renderer change if maintainers accept elapsed-duration wording; otherwise adjust the same renderer to the chosen Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature PR rather than a reproducible bug. Source and release checks show current main and Is this the best way to solve the issue? Yes, if maintainers accept elapsed duration as the product format. The PR changes the shared status renderer used by chat AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 92d1f04de340. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +12, Tests +2. Total +14 across 2 files. View PR surface stats
What 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
|
26ad2cd to
cd60846
Compare
cd60846 to
26ad2cd
Compare
|
Reverted the branch to its prior reviewed head (no content change) — please |
26ad2cd to
6d54ea1
Compare
6d54ea1 to
26ad2cd
Compare
d4e33c4 to
b796274
Compare
|
@vincentkoc surfacing this small one in case you're sweeping the Control-UI area — it adds the session duration to the footer (diamond, proof: sufficient, CI green, mergeable clean, no author action pending). It's behind main by a bit since it's been ready a while; happy to rebase onto a fresh base on request. Thanks! |
3a35e9f to
9a3a503
Compare
|
Land-ready verification:
Known gap: broad local |
Show elapsed session duration in the status footer using the canonical session lifecycle timestamps and compact formatter. Fixes openclaw#68226. Co-authored-by: Alix-007 <li.long15@xydigit.com>
Fixes #68226.
Summary
sessionStartedAtis availableduration 2h 14mfooter formatVerification
node scripts/run-vitest.mjs src/auto-reply/status.test.tspnpm exec oxfmt --check --threads=1 src/status/status-message.ts src/auto-reply/status.test.tspnpm exec oxlint src/status/status-message.ts src/auto-reply/status.test.tsgit diff --checkReal behavior proof
sessionStartedAtwas available.26ad2cdd2dcd2638b72126712924f6afcd46f37b.node --import tsx/esm --input-type=modulescript importing the productionbuildStatusMessage, building a status message withsessionStartedAt2h 14m beforenow, and printing the rendered session footer line./statuscommand was not sent; this proof exercises the shared production renderer used by that command path.