Skip to content

Extract core httpfs retrieval optimizations into clean implementation…#58

Open
cr458 wants to merge 1 commit into
mainfrom
httpfs-key-impl
Open

Extract core httpfs retrieval optimizations into clean implementation…#58
cr458 wants to merge 1 commit into
mainfrom
httpfs-key-impl

Conversation

@cr458
Copy link
Copy Markdown
Owner

@cr458 cr458 commented Feb 10, 2026

… branch

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

manifest_path = self._resolve_manifest_path()
if manifest_path is None:
return discovered

P2 Badge Continue remote discovery when manifest file is missing

This early return prevents the remote Tier-4 scan from running when manifest.csv is absent, even when include_remote=True. In remote-only environments (or packaged installs where the manifest is not present), initialization will end with no discovered databases and raise FileNotFoundError, despite remote datasets being available via discover_remote_databases.

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread geovibes/ui/app.py
Comment on lines +918 to +922
self.data.current_database_path = db_url
self.data.current_database_info = db_info
self.data.current_faiss_path = faiss_url
self.data.current_geometry_cache_path = geometry_url
self.data.tile_spec = db_info.get("tile_spec")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Clear old connection pools before progressive remote loading

This progressive-loading path mutates self.data directly instead of going through DataManager.switch_database/_connect_to_database_internal, so prior auxiliary state is never torn down. If a user switches remote databases after prefetch has already created a background pool, DataManager.configure_background_connection_pool can reuse existing pooled connections (same size) that still point at the previous DB, and background embedding prefetch may read vectors for overlapping IDs from the wrong dataset, corrupting the query vector and search ranking.

Useful? React with 👍 / 👎.

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