Repository navigation
fix(update): show quiet step progress and date recorded outcomes - #153407
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. |
|
Codex review: blocked before merge. Reviewed September 24, 2026, 7:04 AM ET / 11:04 UTC (Revision 3). ClawSweeper reviewWhat this changesAdds 30-second elapsed notices for redirected update steps and a dated heading for saved update status, with tests and CLI documentation. Merge readiness⛔ Blocked before merge - 2 items remain Current main still lacks both presentation changes. The merged runtime-staging work addresses a separate phase, and this focused PR remains useful. Priority: P2 Review scores
Verification
How this fits togetherThe update command sends step callbacks to a CLI progress presenter while recording outcomes in an update ledger. The status command reads that ledger to show active or saved results to operators. flowchart LR
A[Update command] --> B[Step callbacks]
B --> C{Output mode}
C -->|Interactive| D[Spinner]
C -->|Redirected| E[Elapsed notices]
D --> F[Operator]
E --> F
G[Saved update ledger] --> H[Status renderer]
H --> F
Before merge
Agent review detailsSecurityNone. PR surfaceSource +16, Tests +38, Docs +5. Total +59 across 5 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep elapsed notices in the existing CLI progress controller and saved-outcome wording in the status renderer, while preserving JSON output and validating the installed-updater handoff. Do we have a high-confidence way to reproduce the issue? Not applicable to a new presentation behavior. Current-main source lacks both outputs, and the PR body describes targeted after-change command observations. Is this the best way to solve the issue? Yes. The patch uses the existing CLI presenters without adding an update-state owner or changing JSON output. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c7b57259f116. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
d13f229 to
60db67a
Compare
|
Rebased onto current main Validation: 74 focused tests passed across progress, status, and Git runtime preparation; targeted oxlint and diff whitespace checks passed; independent conflict-resolution review found no issues. New head: |
Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from #153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]>
* fix(update): show progress while staging Git runtimes Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from #153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]> * style(update): format runtime staging regression fixture --------- Co-authored-by: Dallin Romney <[email protected]>
* fix(update): show progress while staging Git runtimes Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from openclaw/openclaw#153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]> * style(update): format runtime staging regression fixture --------- Co-authored-by: Dallin Romney <[email protected]>
* fix(update): show progress while staging Git runtimes Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from openclaw/openclaw#153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]> * style(update): format runtime staging regression fixture --------- Co-authored-by: Dallin Romney <[email protected]>
* fix(update): show progress while staging Git runtimes Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from openclaw/openclaw#153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]> * style(update): format runtime staging regression fixture --------- Co-authored-by: Dallin Romney <[email protected]>
* fix(update): show progress while staging Git runtimes Record runtime staging through the existing update step owner, including elapsed time, heartbeat and public failure identity before cleanup. Keep the original staging error and activation boundary intact. Adapt the runtime-staging step approach from openclaw#153407 to the current updater. This adds observability; it does not change copy performance. Co-authored-by: Dallin Romney <[email protected]> * style(update): format runtime staging regression fixture --------- Co-authored-by: Dallin Romney <[email protected]>
…3407) Report elapsed time for quiet redirected update steps and label saved status with its recorded start time. Retain the existing staging owner and progress cleanup lifecycle. Co-authored-by: Dallin Romney <[email protected]>
|
Merged via squash.
|
* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (2027 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ...
* refactor(config): share config doc wildcard traversal * refactor(config): refresh wildcard traversal on frozen main Integrate the frozen main baseline while preserving the documentation wildcard extraction and its public renderer coverage. * chore: merge main for config doc validation * commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (2027 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ... Co-authored-by: Vincent Koc <[email protected]>
* commit 'a0905dfe5c17053a3f0ef2aa0cf8f421bce9381c': (75 commits) fix: preserve conversation titles across split-pane agent switches (#157482) test(gateway): settle resumed work before checking announcement fix(update): avoid socket-arrival assumptions in deadline tests (#157504) fix(ci): include Android Access in release coordination refactor: share LINE message context test fixtures (#157488) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) ...
* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ...
* refactor(acp): consolidate scalar runtime option validation * chore: merge main for ACP validation * commit 'a0905dfe5c17053a3f0ef2aa0cf8f421bce9381c': (75 commits) fix: preserve conversation titles across split-pane agent switches (#157482) test(gateway): settle resumed work before checking announcement fix(update): avoid socket-arrival assumptions in deadline tests (#157504) fix(ci): include Android Access in release coordination refactor: share LINE message context test fixtures (#157488) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) ... Co-authored-by: Vincent Koc <[email protected]>
* refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits) improve(sessions): reuse compiled transcript metadata queries (#148773) fix(ci): repair Copilot contracts and config failure diagnostics (#149001) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ... Co-authored-by: Vincent Koc <[email protected]>
…nclaw#153407) Co-authored-by: Dallin Romney <[email protected]>
* refactor(config): share config doc wildcard traversal * refactor(config): refresh wildcard traversal on frozen main Integrate the frozen main baseline while preserving the documentation wildcard extraction and its public renderer coverage. * chore: merge main for config doc validation * commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (2027 commits) refactor(matrix): reuse startup verification account key (openclaw#157310) perf(config): avoid repeated environment scans during publication (openclaw#156457) chore(i18n): refresh native locales (openclaw#157495) fix(update): show quiet step progress and date recorded outcomes (openclaw#153407) feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454) test(scripts): await CLI admission fixture lifetimes (openclaw#157424) fix(ci): preserve consumer selection across core type stripes (openclaw#157373) fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458) test: prebuild run-node signal fixture (openclaw#157478) refactor(exec): reuse approval policy rule keys (openclaw#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365) fix(config): apply Gateway writes without waiting for file events (openclaw#157372) fix: count recorded nested tool operations once (openclaw#157438) fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810) refactor(claws): share resource capability changes (openclaw#154680) improve(channels): reduce redundant preparation for button messages (openclaw#157050) fix(build): package preparation fails on unrelated test types (openclaw#157318) refactor(claws): share bounded document reading (openclaw#157436) ... Co-authored-by: Vincent Koc <[email protected]>
…#157446) * refactor(acp): consolidate scalar runtime option validation * chore: merge main for ACP validation * commit 'a2532ef8d2eb80fd2fd391ef7ea645c051f8be9c': (75 commits) fix: preserve conversation titles across split-pane agent switches (openclaw#157482) test(gateway): settle resumed work before checking announcement fix(update): avoid socket-arrival assumptions in deadline tests (openclaw#157504) fix(ci): include Android Access in release coordination refactor: share LINE message context test fixtures (openclaw#157488) refactor(matrix): reuse startup verification account key (openclaw#157310) perf(config): avoid repeated environment scans during publication (openclaw#156457) chore(i18n): refresh native locales (openclaw#157495) fix(update): show quiet step progress and date recorded outcomes (openclaw#153407) feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454) test(scripts): await CLI admission fixture lifetimes (openclaw#157424) fix(ci): preserve consumer selection across core type stripes (openclaw#157373) fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458) test: prebuild run-node signal fixture (openclaw#157478) refactor(exec): reuse approval policy rule keys (openclaw#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365) fix(config): apply Gateway writes without waiting for file events (openclaw#157372) fix: count recorded nested tool operations once (openclaw#157438) ... Co-authored-by: Vincent Koc <[email protected]>
…8966) * refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '4a994031abb1b54d51b76755a55ac8f6e918162d': (40 commits) improve(sessions): reuse compiled transcript metadata queries (openclaw#148773) fix(ci): repair Copilot contracts and config failure diagnostics (openclaw#149001) test: align model auth and setup fixtures with current behavior (openclaw#149023) refactor: reuse web search request context (openclaw#148949) fix(ci): remove duplicate Copilot auth metadata (openclaw#149016) test(agents): align auth fixtures with runtime store reads (openclaw#149004) improve: reduce data fetched during reminder maintenance (openclaw#148996) fix(cron): skip availability checks when session pruning is idle (openclaw#148920) fix(auth): guard GitHub Copilot device flow authority (openclaw#148999) fix(agents): prevent early recovery aborts of foreground exec (openclaw#148959) fix(github-copilot): remove retired Raptor mini (openclaw#116505) improve(feishu): reduce preparation work for documents with tables (openclaw#148997) improve: reduce database work when recording participants (openclaw#148841) test: accept Bun error labels in plugin assertions (openclaw#148955) fix(models): clarify saved account health and catalog status (openclaw#148987) test(plugins): align Copilot auth-choice registry expectations (openclaw#148981) fix(channels): reject blank integer channel add options (openclaw#145534) fix(ui): preserve archive undo after chat navigation (openclaw#148831) feat: show cited source previews in macOS and iOS chat (openclaw#148906) fix: avoid redundant tab updates while chats stream (openclaw#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (1903 commits) refactor(matrix): reuse startup verification account key (openclaw#157310) perf(config): avoid repeated environment scans during publication (openclaw#156457) chore(i18n): refresh native locales (openclaw#157495) fix(update): show quiet step progress and date recorded outcomes (openclaw#153407) feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454) test(scripts): await CLI admission fixture lifetimes (openclaw#157424) fix(ci): preserve consumer selection across core type stripes (openclaw#157373) fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458) test: prebuild run-node signal fixture (openclaw#157478) refactor(exec): reuse approval policy rule keys (openclaw#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365) fix(config): apply Gateway writes without waiting for file events (openclaw#157372) fix: count recorded nested tool operations once (openclaw#157438) fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810) refactor(claws): share resource capability changes (openclaw#154680) improve(channels): reduce redundant preparation for button messages (openclaw#157050) fix(build): package preparation fails on unrelated test types (openclaw#157318) refactor(claws): share bounded document reading (openclaw#157436) ... Co-authored-by: Vincent Koc <[email protected]>
Related: #153401
What Problem This Solves
Quiet update steps can appear stalled when stdout is redirected, and saved update results can look like current activity.
User Impact
Redirected output reports elapsed time every 30 seconds while a step runs. When no update is active,
openclaw update statuslabels the saved outcomeLast recorded update (<recorded start time>). Existing TTY and JSON behavior remains intact.Why This Change Was Made
Both changes stay in the existing CLI presenters. The existing stop lifecycle clears the notice timer on completion, suspension, disposal, and phase changes. The update CLI documentation covers both presentation changes.
Evidence
openclaw/ci-gate.[email protected]updater exercised the exact candidateaba97efababf5e273129a0316d14823c580a759b; its selected survivor cell passed in 526 seconds. Artifact 10826135741 has package SHA-2561e5f6d43474608edf0c60a9fb869519b8f5a6453dfd7462ff987129d59e777d0, with matching packaged source/build identity.Last recorded update (2026-09-24T18:41:36.804Z):, matching the finished run in parseable JSON, with no active run.The additional macOS full-update attempt did not complete: the existing candidate-doctor validation timed out at 300 seconds, and service recovery could not manage the isolated state directory. That attempt is retained as a failed update and is not counted as upgrade success. Its failed-outcome presentation checks passed; the separate published-driver Package Acceptance cell passed. No timeout was raised or failed result converted to a pass.
Contributor credit: Dallin Romney (@RomneyDa).