Skip to content

fix(core): finish removing semantic_search_enabled after today's merges - #1709

Merged
phernandez merged 1 commit into
mainfrom
fix/semantic-flag-removal-fallout
Oct 9, 2026
Merged

phernandez merged 1 commit into
mainfrom
fix/semantic-flag-removal-fallout

Conversation

@phernandez

Copy link
Copy Markdown
Member

Main is red at 61d965e. #1696 removed semantic_search_enabled from BasicMemoryConfig, but its CI ran against a main from before several milestone PRs that still read the flag. On main, Static Checks and most SQLite, Postgres and Windows jobs fail (run 37886389135).

Fixes

Verification

🤖 Generated with Claude Code

https://claude.ai/code/session_01APFUk2bjEwMptMQqpRhjea

#1696 removed `semantic_search_enabled` from BasicMemoryConfig, but it was
tested against a main that predated several milestone merges that still
read the flag, so main failed static checks and most test jobs:

- `index_project_and_report_readiness` (#1704) passed
  `embeddings=app_config.semantic_search_enabled`, which raised
  AttributeError on every `bm project add`. Semantic search is always on,
  so the add always runs the embedding pass.
- test_db_reindex (#1704) parametrized the add on the flag; it now
  asserts the embedding pass runs.
- test_deferred_embedding_resume (#1700) set the flag on its config.
- test_config_env_overrides_not_persisted (#1701) used the flag as its
  example env-overridden boolean; it now uses `format_on_save`.

Also makes #1704's cloud-prune test compare against str(Path) so it holds
on Windows, where the path prints with backslashes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01APFUk2bjEwMptMQqpRhjea
Signed-off-by: phernandez <paul@basicmachines.co>
@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T05:45:03.854483Z cd69c7d 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.

@phernandez
phernandez merged commit 9c76703 into main Oct 9, 2026
32 checks passed
@phernandez
phernandez deleted the fix/semantic-flag-removal-fallout branch October 9, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant