[codex] Close API parity gaps before release#176
Conversation
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
|
/agentic_review |
Code Review by Qodo
1.
|
There was a problem hiding this comment.
Code Review
This pull request documents UTF-8 requirements for ordvec_index_load in the C API, introduces capability constants and corresponding tests in the Go bindings, and implements a new search_subset method for the Bitmap class in the Python bindings along with comprehensive tests. The feedback suggests renaming a shadowed variable ids in the Rust-Python binding code to improve readability and avoid confusion.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Review Summary by QodoClose API parity gaps before release
WalkthroughsDescription• Add Python Bitmap.search_subset() method for querying document subsets • Document UTF-8 path requirement in C API and Rust safety docs • Expose named Go capability constants and validate loaded capabilities • Update CI pinned cbindgen version from 0.29.2 to 0.29.3 Diagramflowchart LR
A["Python Bitmap API"] -->|"add search_subset method"| B["Subset Search Support"]
C["C API Documentation"] -->|"clarify UTF-8 requirement"| D["Path Safety Docs"]
E["Go Constants"] -->|"expose capability flags"| F["Capability Validation"]
G["CI Configuration"] -->|"update cbindgen"| H["Header Generation"]
File Changes1. ordvec-python/src/lib.rs
|
|
Code review by qodo was updated up to the latest commit 546792c |
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
|
Addressed the remaining review threads in What changed:
Validation:
|
Summary
Bitmap.search_subset(query, doc_ids, k)parity with RustBitmap::search_subsetordvec_index_probe(path, flags, info_out)backed by Rustprobe_index_metadata()Probe(path) (Info, error)parity and test probe/load metadata equivalencecbindgenversion with the generated header bannerTracking
Validation
cbindgen ordvec-ffi --config ordvec-ffi/cbindgen.toml --output ordvec-ffi/include/ordvec.h --verifycargo build -p ordvec-fficargo test -p ordvec-fficargo build -p ordvec-ffi --releaseenv GOCACHE=/tmp/ordvec-go-build go test -count=1 ./...fromordvec-goVIRTUAL_ENV=/home/ndspence/GitHub/ordvec/ordvec-python/.venv PATH=/home/ndspence/GitHub/ordvec/ordvec-python/.venv/bin:$PATH maturin develop -m ordvec-python/Cargo.tomlVIRTUAL_ENV=/home/ndspence/GitHub/ordvec/ordvec-python/.venv PATH=/home/ndspence/GitHub/ordvec/ordvec-python/.venv/bin:$PATH python -m pytest ordvec-python/tests/test_bitmap.pycargo clippy -p ordvec-ffi --all-targets -- -D warningsgit diff --checkStacked on #174.