Skip to content

fix(update): retire settled plugin warnings and guard agent db repair advisories - #173156

Closed
bhedanikhilkumar-code wants to merge 6 commits into
openclaw:mainfrom
bhedanikhilkumar-code:fix-settled-warnings-and-agent-db-repair
Closed

bhedanikhilkumar-code wants to merge 6 commits into
openclaw:mainfrom
bhedanikhilkumar-code:fix-settled-warnings-and-agent-db-repair

Conversation

@bhedanikhilkumar-code

Copy link
Copy Markdown

Closes #173089

What Problem This Solves

Fixes: openclaw update and update doctor emit spurious "wait for update" plugin warnings and repeated "skipped agent database path repair" messages on clean, already-migrated installations.

User Impact

User impact: Users running openclaw update no longer see confusing warnings telling them to wait for a plugin update when all plugins are already settled, and clean agent databases no longer produce false-alarm path repair skips or duplicate doctor advisory logs.

Why This Change Was Made

  • hasRepairableOpenClawAgentDatabasePaths: inspects the agent database inventory and skips emitting the "skipped agent database path repair" warning if no candidate agent database files actually require path migration.
  • Settled plugin migration warnings: filtered out settled / non-pending entries from candidate updates during convergence and finalization.
  • Warning deduplication: ensures update doctor results deduplicate advisories across sequential passes to prevent repeated log lines.
  • Added regression tests covering clean database inventories and settled plugin warning omissions.

Evidence

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-15T13:10:15.182178Z 2e20a33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes commands Command implementations size: S labels Oct 15, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 1829065f093d2991097d5cbed3f29733f49b2de6, but the PR head is now e17b2ddebf5c76f5823293bfd5a7c0cfbc3bd47d. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (2 earlier review cycles)
  • reviewed 2026-10-15T13:27:12.667Z sha a0f7052920b02c0ceb71b4512f72228bb1b1b6c2 :: needs real behavior proof before merge. :: [P2] Restore the OpenClawConfig type import | [P2] Match the preview to the repair owner's eligibility rules
  • reviewed 2026-10-15T16:35:15.629Z sha 1829065 :: needs real behavior proof before merge. :: none

- omit settled plugin migration warnings from candidate update flow
- inspect agent database inventory before emitting skipped repair advisories during update Doctor
- deduplicate doctor warnings across passes to prevent repeated messages
- add regression tests for clean database inventory and settled plugin warning omissions

Fixes openclaw#173089
@bhedanikhilkumar-code
bhedanikhilkumar-code force-pushed the fix-settled-warnings-and-agent-db-repair branch from a0f7052 to 1829065 Compare October 15, 2026 16:27
@bhedanikhilkumar-code

Copy link
Copy Markdown
Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 15, 2026
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 15, 2026
steipete added a commit that referenced this pull request Oct 15, 2026
…e report (#173395)

A successful update report could still tell the operator to wait for the update that had just finished: candidate convergence published intermediate Doctor warnings without reconciling plugin migrations the ledger had already completed. Convergence now reuses the existing ledger-aware filter, deduplicates final warnings, and points database-path guidance at the right location; current pending warnings and the rollback-inventory safeguard are unchanged. Production net -1 LOC. Supersedes #173145 and #173156, thanks @DonnieFi and @bhedanikhilkumar-code.

Fixes #173089

Co-authored-by: Donnie Fiander <[email protected]>
Co-authored-by: bhedanikhilkumar-code <[email protected]>
@steipete

Copy link
Copy Markdown
Contributor

Thanks for this! We landed the fix in #173395 (5d85ad5), which supersedes this PR and credits you as co-author: a successful update report no longer repeats pending warnings for plugin migrations that already completed.

@steipete steipete closed this Oct 15, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
…e report (openclaw#173395)

A successful update report could still tell the operator to wait for the update that had just finished: candidate convergence published intermediate Doctor warnings without reconciling plugin migrations the ledger had already completed. Convergence now reuses the existing ledger-aware filter, deduplicates final warnings, and points database-path guidance at the right location; current pending warnings and the rollback-inventory safeguard are unchanged. Production net -1 LOC. Supersedes openclaw#173145 and openclaw#173156, thanks @DonnieFi and @bhedanikhilkumar-code.

Fixes openclaw#173089

Co-authored-by: Donnie Fiander <[email protected]>
Co-authored-by: bhedanikhilkumar-code <[email protected]>
RomneyDa added a commit that referenced this pull request Oct 22, 2026
…e report (#173395)

A successful update report could still tell the operator to wait for the update that had just finished: candidate convergence published intermediate Doctor warnings without reconciling plugin migrations the ledger had already completed. Convergence now reuses the existing ledger-aware filter, deduplicates final warnings, and points database-path guidance at the right location; current pending warnings and the rollback-inventory safeguard are unchanged. Production net -1 LOC. Supersedes #173145 and #173156, thanks @DonnieFi and @bhedanikhilkumar-code.

Fixes #173089

Co-authored-by: Donnie Fiander <[email protected]>
Co-authored-by: bhedanikhilkumar-code <[email protected]>
(cherry picked from commit 5d85ad5)
Co-authored-by: RomneyDa <[email protected]>
RomneyDa pushed a commit that referenced this pull request Oct 27, 2026
…e report (#173395)

A successful update report could still tell the operator to wait for the update that had just finished: candidate convergence published intermediate Doctor warnings without reconciling plugin migrations the ledger had already completed. Convergence now reuses the existing ledger-aware filter, deduplicates final warnings, and points database-path guidance at the right location; current pending warnings and the rollback-inventory safeguard are unchanged. Production net -1 LOC. Supersedes #173145 and #173156, thanks @DonnieFi and @bhedanikhilkumar-code.

Fixes #173089

Co-authored-by: Donnie Fiander <[email protected]>
Co-authored-by: bhedanikhilkumar-code <[email protected]>
(cherry picked from commit 5d85ad5)

Release adaptation: the main original applied to production code; the report test was inserted beside 2026.10.10's runtime-check cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: successful beta.4 report still says to wait for the update that just finished

2 participants