Repository navigation
feat(plugins): show installation progress and lifecycle spinners - #150235
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: needs maintainer review before merge. Reviewed September 21, 2026, 5:14 PM ET / 21:14 UTC (Revision 19). ClawSweeper reviewWhat this changesAdds request-correlated plugin installation progress, lifecycle action spinners, clearer settings presentation, and single-delivery CLI and chat warnings. Merge readiness✅ Ready for maintainer review Keep open: this remains a distinct, useful improvement beyond the merged settings work. The pinned diff has no actionable correctness or security findings. Priority: P2 Review scores
Verification
How this fits togetherPlugin installation runs through the Gateway’s existing installation and runtime owners. This change sends stage updates to the requesting Control UI while the final response continues to determine success or failure. flowchart LR
A[Install action] --> B[Gateway install request]
B --> C[Existing installer]
C --> D[Runtime application]
C --> E[Request-scoped progress]
D --> E
E --> F[Progress popover]
D --> G[Final response]
G --> H[Installed actions or recovery]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +582, Tests +848, Docs +5, Other +51. Total +1486 across 75 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep progress observational within the existing installation owner, with final-response settlement and recoverable failure states. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature-wide bug reproduction; source and supplied scenarios establish the progress and lifecycle-feedback behavior being added. Is this the best way to solve the issue? Yes: the patch extends existing installation and UI owners, preserves final-response authority, and avoids new persistence or configuration mechanisms. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 14f8ec46c133. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (18 earlier review cycles; latest 8 shown)
|
3a84da3 to
c0895e0
Compare
3aef1ca to
584c46a
Compare
|
The confirmed-failure retry is repaired in the integrated candidate: a final unsaved Gateway rejection restores Install, and the next attempt can complete. Saved installs, policy continuation, and unknown transport outcomes keep their duplicate guards. The paired screenshots show the original stuck button, the repaired failed state, and the successful retry. They come from the production UI bundle with the canonical mock Gateway transport at 390px; they are not an installation timing benchmark. All four browser outcomes and 32 owner regressions passed after integration. |
584c46a to
ed50eb3
Compare
c0895e0 to
5c70c76
Compare
ed50eb3 to
4801f22
Compare
5c70c76 to
429845f
Compare
|
Telegram warning proof for the latest review's rank-up request, at The actual chat-install command regression fails with the pre-fix warning owner and passes with the final owner. I then passed both recorded
The configuration warning and its enable command are preserved; the latter renders as HTML Owner boundaries inspected: Explicit rank-up disposition: this is a recorded handoff between the real chat-command owner and the canonical Telegram transport fixture, not a continuous Gateway run or a live Telegram Test Server session. No external messages were sent. The optional live-server portion is skipped because this task has no authorized Telegram recipient/test-server session. This evidence does not claim server acceptance, client display, network delivery, or restart persistence. Required CI on the current PR head remains a separate landing gate. The complete revision 3 review was also read after publication. Its attachment-access warning is a reviewer retrieval limitation: the root agent opened and inspected the native GitHub walkthrough, handoff, and retry assets before publication. The recording scope and sampled timing remain explicitly documented; the tested final source and six mechanically rebased layer deltas are matched in the retained receipts. No fresh current-head performance measurement is claimed. The review itself preserves the earlier sufficient recording classification. |
429845f to
d8a166e
Compare
|
@clawsweeper re-review Current head 6f15541 preserves bounded observational progress and final-response settlement on the refreshed parent. The PR body includes the new conflict-resolution proof: 489 UI tests, 243 backend cases, build/types/lint/format and the unchanged startup budget pass. Disposition of Revision 15: the parent ownership blocker is superseded by current repository policy and live maintainer-authored security checks; there is no separate SecOps signoff requirement for these paths. Existing accepted media retains its original recorded source identity. Fresh local desktop/tablet/mobile captures were inspected; the prior recording retrieval miss is not claimed as fresh retrieval or live install-timing proof. Telegram proof remains the recorded renderer handoff, not Test Server delivery. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
The new head adds only the isolated compiler-cache race repair in #155086 and its regression coverage. The previous feature review and behavior proof are retained. Fresh CI is running; the previous unrelated WAL failure and bounded local replay limitations are recorded in the PR body. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
The previous published head Refreshed onto parent UI head The child still targets the UI branch until that parent merges; then it will be restacked and retargeted to main through the native landing flow. Existing visual and Telegram renderer proof limitations remain explicit. |
|
Refreshed parent integration at |
Security-sensitive guard clearedCurrent revision: This PR no longer changes files in the maintainer security-review tier. Separate CODEOWNERS requirements still apply to security policy and enforcement files. |
Punchcard-Session: coral-lantern-meadow-m8
a3a6b5b to
621bf71
Compare
|
Parent #150234 merged as 97043fa after all exact-head CI passed. This PR now targets main at 621bf71. The complete reviewed progress patch applied cleanly onto main; stable patch ID remains The final integration passes 54 Gateway mutation, real Gateway install-authority, and CLI warning cases across three files in 58.57 seconds. Previous head a3a6b5b completed all CI successfully; final-head CI: https://github.com/openclaw/openclaw/actions/runs/35655191137. Latest ClawSweeper Revision 18 has no findings, security items, before-merge items, or rank-up moves. Existing proof limitations remain: fresh UI scenarios use MockGateway; Telegram evidence is renderer/grammY handoff, not live Test Server delivery. Main's newer runtime checkpoint and live-client ownership changes remain intact. Production +1000/-367 (net +633); tests/support +953/-105; docs +24/-19. Production growth implements the requested request-correlated install stages, final-settlement recovery, shared popover, and action spinners. No stored config/schema/protocol version change. |
|
Merged via squash auto-merge.
|
…nclaw#150235) Punchcard-Session: coral-lantern-meadow-m8

Long installations gave no useful progress, and inventory refresh could replace an unfinished install with normal actions or skeletons. The Install button now keeps a spinner and anchored progress card through the final request result.
Reviewed feature baseline (before the landed-parent integration above): installation and grouped settings #150234,
b7442b0aeec31683906b9270e1e32f6685730648. Reviewed source:464a75d53d846a1b9c159b5417eac5884aef44af. CLAW-914 performance benchmarking and timing improvements remain excluded.A confirmed final rejection without a saved-install receipt restores Install for retry while retaining failed progress on hover/focus. Saved outcomes, policy continuation and transport-unknown outcomes do not authorize duplicate installation. Each terminal warning is delivered once; chat output strips ANSI styling. The observer remains informational and cannot grant authority or change settlement.
Validation and review disposition
6cb5d8026b65: 86 UI cases and 31 built-browser cases pass; 360,027 gzip JS bytes / 7 requests, 48,405 CSS bytes.464adiffers only in that test fixture, so all production/build inputs remain identical. Root inspected desktop right alignment and the editable, unsent help draft.3e8b396a7dc8, snapshot940ae782433b: canonical i18n, 3 lazy-loading/precompression tests and 13 built-browser cases pass; 359,400 gzip JS bytes / 7 requests, 48,300 CSS bytes. Root also inspected the fresh desktop image: right-aligned settings and an unsent draft. Unchanged hard limits: 362,588 JS bytes and 51,200 CSS bytes.The parent’s final
b744proof passes 399 authority, 48 marker/retention and 111 config-capture tests (overlapping batches). It covers ordinary reconnect, staged/index/runtime revocation, disconnected-client invalidation and shared-auth A→B→A. Lease/revision-owned rollback restores original retention markers. The parent-authority finding and Rank-up move are addressed by that repair. The combined handler retains both request correlation and the authority check before persistent/runtime effects.Telegram warning-output proof and explicit Test Server disposition: an actual recorded command reply passes through the canonical Telegram renderer/grammY fixture as one message, each warning once, with zero ANSI escape bytes. This is locally intercepted recorded-handoff proof, not continuous Gateway/Test Server or live-recipient delivery. The built UI uses a stateful MockGateway; neither proof is an install-duration benchmark.
Against the stated parent, the 74-path layer is production code/styles +935/−353 (net +582); tests/support +952/−105 (net +847). Growth supplies installer-stage ownership, correlated events, shared progress presentation and feedback fixes; pure owner extractions preserve behavior. Generated protocol, docs and tooling metadata are counted separately. Parent main/security integration is outside these counts. No protocol version, runtime option, grant default or persistent schema changes.
Local canonical source checks are complete; exact published-head CI and native landing checks remain required. The parent retains the named Cold PR provisioning and CUA Linux relay-exit delivery exceeds cleanup deadline follow-ups; their unchanged retries are not claimed as source fixes.
Recorded visual proof
handoff-sampled-walkthrough.mp4
Installation walkthrough: 37.433 seconds, sampled from the real retained-state capture to show stages and completion; not a duration benchmark. Media retains its original recorded source versions.
Earlier review disposition: revision 12 reviewed exact
464a75d53d84, reports no findings or Before merge items, and accepts the inherited authority repair. The existing Telegram fixture/Test Server limitation and original recording versions remain explicit. The complete canonical plan passed; hosted and native landing gates remain required.Final local gates: On
464a75d53d84, the initial canonical run passed its prefix and stopped because Java was absent from the shell path. Reusing the installed toolchain, all 11 remaining checks passed, including Android/app lint, macOS CI, schema and ownership guards; source stayed clean. The preserved initial run took 650.06s and the resumed suffix 483.82s. The actual clean merge with main6ec3c9789905(tree56c51f6680ab) also passed all 67 selected Gateway, plugin-loader and activation-planner cases in 29.07s, including the seven real Gateway authority scenarios. This local integration proof is separate from hosted CI; overlapping batches are not summed.Review disposition: Revision13 at old464a: recording retrieval cache miss is not a source finding. Preserve accepted original walkthrough/retry recording assessment, source identity and explicit MockGateway/Telegram delivery limitations; new main integration leaves the progress contribution intact. No repeat external upload or timing claim is needed.
Final canonical autoreview covered the complete combined main92f..progress14092 delta in two complete passes: no P0 findings. This is the default P0 scope, not a broader-priority certificate.
CI fixture repairs: CI exposed two stale test fixtures. Incoming-main Slack coverage now uses the actual EventEmitter/async-send contract and narrows ws.RawData correctly: 101 consumer tests and 34 SDK/reconnect tests pass, with strict types, lint and formatting. The sidebar fixture now honors the requested/retained session window: a controlled event-during-append reproduction changes from 2 accepted rows with the tail lost to 202 with the tail retained; all four rename/archive × Active/All browser cases pass. Root inspected both screenshots. Repairs add 74/remove 22 test/support lines and change no production code, assertions or deadlines. The first local Slack red batch was intentionally stopped after causal failures; the complete original hosted failure remains recorded. These are production-UI MockGateway and real-SDK/local-WebSocket tests, not live Slack or install-timing evidence.
The prior UI setup failure was an ECONNRESET in the upstream Matrix native-library downloader, before the check ran; its catch block then referenced an undefined variable. No dependency or retry policy was changed. A fresh-head CI run repeats setup. Follow-ups recorded: fix the upstream downloader error path; include the session browser test’s captures in CI failure-artifact upload.
Earlier review disposition: Revision 14 at 14092 found no introduced correctness/security defect and no Rank-up moves. Its progress/retry media cache miss explicitly retains the accepted recording proof and does not require re-upload. Preserve those original source identities and MockGateway/Telegram transport limitations; progress remains observational and the final response owns settlement.
Landing ownership: Current repository policy and live GitHub checks accept this maintainer-authored change. The inherited authentication paths do not have a separate SecOps approval gate. Native review, CI, and merge admission remain enforced.
September 21 conflict refresh: Preserves current installer timeout, publication/rollback, dependency workspace isolation, manifest/npmrc restoration, and request-lifetime authority while adding bounded request-correlated progress. Complete child patch reviewed with canonical autoreview (P0 scope): no P0 findings. Full build, core/UI types, changed-file lint/format pass. Fresh Chromium/browser proof passes 489 tests; the final Gateway/plugin/archive backend batch passes 243 tests across ten files. Canonical startup-performance comparison passes with 51,200 gzip CSS bytes under the unchanged budget. Desktop/tablet/mobile popover, elapsed time, failure/retry, action spinners and final completion captures were inspected. These use the real UI with a MockGateway; they do not claim a new external Mem0 installation benchmark. Original real-install recordings retain their recorded source identities.
The refreshed 74-path layer supplies progress and feedback behavior; no runtime configuration, grants, persistent schema or protocol version changes. Parent CI repairs preserve size/contrast thresholds and assertions.
Current CI repair — September 21
Current head:
7e6fe79866cc5a462cf39aa7b441b8b3080d861f. Stack parent:3d8693a6c8ffa54336b08fa978688d85900f260a. The compiler scratch repair from #155086 is now merged. The current head additionally registers the new CLI warning-output test in the existing database-worker lane. Application production bytes are unchanged fromfc1576ce35a.The prior hosted run exposed an upstream compiler-cache race: temporary hook packages vanished while being scanned. The shared input owner now excludes checkout-root
.tmp; 37 focused snapshot/cache tests and all scoped checks pass. No application behavior, config, or persistence change.A separate upstream WAL checkpoint assertion also failed on the prior UI CI run. It passed both in the matching 86-file local cohort and in isolation, so its cause remains unproven. That local cohort had two different macOS
fs.watchassertions fail inio.load-async.test.ts; those are a named follow-up limitation, not evidence that this compiler change repairs either failure. The new head receives fresh hosted CI.ClawSweeper Revision 16 reviewed the preceding progress head
07771212f203bb29926c5357fd36678a402d92b0: no findings, security findings, before-merge items, or unresolved review threads. Separate SecOps signoff is not required for the changed paths. Prior recording and mock-gateway proof keep their original scope; this refresh is not a new live plugin benchmark.Final CLI fixture repair
The warning-output integration test acquired a real plugin lifecycle lease but was omitted from the canonical database-worker test registry. Its old thread-based lane correctly refused host-broker admission. One registry entry now routes it with its sibling real-database tests; assertions and runtime code are unchanged.
Before: 2 failures / 1 pass reproduce the hosted error in isolation (21.38 s wall). After: 12 affected/sibling tests pass (24.68 s including 15.50 s compiler preparation; warning test cases total 3.295 s), plus 2 existing routing/planner checks pass (17.44 s). Required scoped checks pass. Test-routing delta +1; application delta 0.
The prior hosted archive-sidebar E2E timeout remains unexplained. The unchanged production-browser case passes locally, and all 4 existing warm-boot owner tests pass, including Archived selected before connection and retained through hydration. No wait or assertion was added to conceal that supported action. Original Linux request/state/screenshot evidence is unavailable; fresh CI on this necessary fixture repair reruns the lane.