mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 22:15:18 +00:00
## Summary Complete RuVector-Postgres v2 implementation with all major features: - 148 pg_extern SQL functions across 27 source files - Docker Hub publication ready with multi-arch builds (PG14-17) - Full pgvector drop-in compatibility verified ## New Features - **Hybrid Search** (7 functions): BM25 + vector fusion with RRF/linear/learned - **Multi-Tenancy** (17 functions): Tenant isolation, RLS, quotas - **Self-Healing** (23 functions): Problem detection, remediation strategies - **Integrity Control** (4 functions): Mincut gating, contracted graphs - **Self-Learning** (10 functions): Query trajectory tracking, optimization ## Infrastructure - GitHub Actions workflow for Docker Hub publication - CI workflow for testing PG14-17 - Integration test Docker setup with baseline testing - Benchmark suite for e2e, hybrid, integrity testing ## Files Changed - New: src/healing/, src/hybrid/, src/integrity/, src/tenancy/, src/workers/ - New: sql/ruvector--2.0.0.sql (SQL migration) - New: docker/publish-dockerhub.sh, docker-compose.integration.yml - Updated: Dockerfile for PG17 default, multi-arch builds - Updated: HNSW/IVFFlat index access methods with full pgrx AM support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
1 KiB
Rust
34 lines
1 KiB
Rust
//! Docker-based integration tests for RuVector Postgres v2
|
|
//!
|
|
//! These tests require a running PostgreSQL instance with the RuVector extension.
|
|
//! Use the Docker Compose setup in the `docker/` directory to run these tests.
|
|
//!
|
|
//! # Test Categories
|
|
//!
|
|
//! - `pgvector_compat`: pgvector SQL syntax compatibility
|
|
//! - `integrity_tests`: Contracted graph and integrity system
|
|
//! - `hybrid_search_tests`: BM25, RRF, and fusion search
|
|
//! - `tenancy_tests`: Multi-tenancy and RLS isolation
|
|
//! - `healing_tests`: Self-healing and recovery
|
|
//! - `perf_tests`: Performance benchmarks
|
|
//!
|
|
//! # Running Tests
|
|
//!
|
|
//! ```bash
|
|
//! # Start Docker environment
|
|
//! cd docker && docker-compose up -d
|
|
//!
|
|
//! # Run all integration tests
|
|
//! cargo test --test integration --features pg_test
|
|
//!
|
|
//! # Run specific test category
|
|
//! cargo test --test integration pgvector_compat --features pg_test
|
|
//! ```
|
|
|
|
pub mod pgvector_compat;
|
|
pub mod integrity_tests;
|
|
pub mod hybrid_search_tests;
|
|
pub mod tenancy_tests;
|
|
pub mod healing_tests;
|
|
pub mod perf_tests;
|
|
pub mod harness;
|