Repository navigation
fix: doctor slows as old plugin generations accumulate - #176108
chelsealong wants to merge 2 commits into
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: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
|
The Commit: 5449c16 |
|
Thank you @chelsealong! Doctor slowing down as plugin generations accumulate is fixed on main by #176121 (44df069): Doctor and post-update convergence now select only recorded install generations. Closing since current |
Closes #176063
What Problem This Solves
Doctor and post-update host-link maintenance inspect stale plugin generations, so the work grows as old generations accumulate.
User Impact
Host-link maintenance now inspects recorded managed npm installs. No migration or configuration change is required.
Why This Change Was Made
The audit and repair paths select npm roots from install records. Recovery and cleanup retain their broader discovery behavior.
Evidence
With the source fix removed, the new filesystem regression failed: the audit returned two generations instead of the one recorded generation. With the fix, the audit selects the recorded generation, repairs its host link, and leaves the stale generation unchanged.
Focused tests passed: 53 tests across five suites. Core typecheck, file-scoped lint, format, and
git diff --checkpassed. A fullopenclaw doctorCLI run and wall-clock speedup measurement were not performed. The shared autoreview helper was not run because this assignment prohibits launching another agent; independent controller review is pending.AI disclosure: generated and automatically reviewed with Codex.