Repository navigation
Conversation
… base_url property
ofriw
marked this pull request as draft
June 12, 2026 10:36
… translation on Windows
… \n→\r\n corruption
Resolved 4 conflict sites and 5 auto-merge gaps between db-portability (code hygiene, DB portability, lint fixes across 400+ files) and main (#361 config forwarding, #356 cosine similarity scoring). Conflict 1: discovery.py - _read_startup_timeout -> _resolve_startup_timeout Conflict 2: search_service.py - query param in search_regex_async Conflict 3: unified_search.py - skip_rerank, exclude_ids params Conflict 4: elbow_filter.py - get_unified_score similarity field handling Auto-merge gaps fixed: - query kwarg signature in SerialDatabaseProvider.search_regex_async - score_fn support in chunk_dedup.py - Depth exploration base_cosine search class integration - gap_detection.py scoring path unification - duckdb_provider.py type annotation boundary fix Fixes included: - query: str | None = None param added to SerialDatabaseProvider.search_regex_async - Test assertions updated: _read_startup_timeout -> _resolve_startup_timeout
This branch has not been deployed
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.
Note: This PR was generated by an AI agent. If you'd like to talk with other humans, drop by our Discord!
What this PR does
Adds cross-OS database portability infrastructure and pre-commit lint tooling to ChunkHound.
Added
.github/workflows/cross-os-portability.yml) — Creates a DuckDB on Ubuntu, verifies it works on macOS/Windows without sidecar filesscripts/pre_commit.py,.pre-commit-config.yaml) — Ruff lint+format on staged Python files before commitlint-changed-ruffCI job — Lints only changed.py/.pyifiles in PRs (not the whole repo)normalize_path_for_lookupinvariantsChanged
Makefile— Addedinstall-hookstarget; expandedlintto coverscriptsandtestsdirectoriesfake_providers.py— Exposedgenerate_deterministic_vectorandbase_urlproperty for test reuseWhy it matters
DuckDB stores paths as relative unix-style strings. This PR proves that a DB created on Linux works identically on macOS and Windows — no path translation, no sidecar dependency. The pre-commit system catches lint issues locally before CI, reducing round-trips.
Breaking changes
None. All additions are new infrastructure and tests.
Attached is an agent optimized description of the changes in this PR - AGENT_REVIEW.md