Repository navigation
refactor(memory-lancedb): remove dead legacy path scan - #113299
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 24, 2026 10:11
steipete
force-pushed
the
cleanup/memory-lancedb-default-path
branch
from
July 24, 2026 10:37
8cc2b82 to
b1e6973
Compare
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 24, 2026
…omic-publication-20260724 * origin/main: refactor(memory-lancedb): remove dead legacy path scan (#113299) fix(test): satisfy no-map-spread in exec approvals (#113303) fix: keep OAuth refresh failures terminal [AI] (#112957) fix: reusable exec approvals apply to approved arguments (#112946) refactor(agents): split tool search internals (#113296) fix: keep inline eval approvals one-shot [AI] (#112956) refactor(normalization): reuse trimmed list helpers (#113295) fix(openai): fail fast on invalid TLS certificates (#111818) fix: recognize more shell wrappers [AI] (#112955) fix(i18n): correct Indonesian seconds labels chore(i18n): refresh native locales fix: block opaque exec dispatch wrappers (#112953)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The memory-lancedb default database path resolver still performed filesystem checks and contained a legacy-directory scan even though the legacy directory list is permanently empty. Every branch ultimately returned the same preferred path.
Why This Change Was Made
Replace the no-op resolver with the direct default path expression and remove the now-unused filesystem import. This is a behavior-neutral 29-line simplification in the existing config owner.
AI-assisted: yes. The branch was reviewed with the mandated Codex autoreview helper.
User Impact
No user-visible behavior or config shape changes. The default remains
~/.openclaw/memory/lancedb; plugin startup no longer performs redundant synchronous existence checks.Evidence
node scripts/run-vitest.mjs extensions/memory-lancedb/config.test.ts— 10 passed.node scripts/run-vitest.mjs extensions/memory-lancedb/index.test.ts— 137 passed.node scripts/check-changed.mjs -- extensions/memory-lancedb/config.ts— passed on Blacksmith Testbox, including extension production/test typechecks, formatting, lint, import-cycle checks, and architecture guards.origin/main— clean, 0 accepted/actionable findings.