test(agent): add integration tests for cross-mode consistency and KG ranking#516
test(agent): add integration tests for cross-mode consistency and KG ranking#516AlexMikhalev wants to merge 1 commit intomainfrom
Conversation
Add comprehensive integration tests for terraphim_agent: - cross_mode_consistency_test.rs: Cross-mode testing (Server, REPL, CLI) - kg_ranking_integration_test.rs: KG ranking impact verification - repl_integration_tests.rs: REPL command and handler tests Fix compilation errors and warnings: - Comment out SearchResultDoc references (undefined type) - Remove unused imports (FromStr, Context, PathBuf) - Fix unused variable warnings with underscore prefix - Add #[allow(dead_code)] to intentionally disabled functions - Apply 20 clippy fixes (contains() instead of iter().any(), useless vec!) Add supporting documentation: - test_ranking_kg.md: Knowledge graph terms for testing - pi-mono-architecture-comparison.md: Architecture analysis
Documentation PreviewYour documentation changes have been deployed to: This preview will be available until the PR is closed. |
GitHub Runner Execution ResultsPR: #516 - test(agent): add integration tests for cross-mode consistency and KG ranking ❌ ci-optimized.ymlExecution failed: VM allocation failed: Allocation failed with status: 500 Internal Server Error ❌ performance-benchmarking.ymlExecution failed: VM allocation failed: Allocation failed with status: 500 Internal Server Error ❌ test-firecracker-runner.ymlExecution failed: VM allocation failed: Allocation failed with status: 500 Internal Server Error ❌ vm-execution-tests.ymlExecution failed: VM allocation failed: Allocation failed with status: 500 Internal Server Error ❌ warden.ymlExecution failed: VM allocation failed: Allocation failed with status: 500 Internal Server Error ✅ Powered by terraphim-github-runner |
…ranking (#516) Adds comprehensive integration tests for terraphim_agent: - cross_mode_consistency_test.rs: Cross-mode testing (Server, REPL, CLI) - kg_ranking_integration_test.rs: KG ranking impact verification - repl_integration_tests.rs: REPL command and handler tests Includes compilation fixes for Rust 2024 edition compatibility.
Summary
This PR adds comprehensive integration tests for the terraphim_agent crate, focusing on cross-mode consistency testing and knowledge graph ranking verification.
Changes
New Test Files
Documentation
Fixes Applied
SearchResultDoctype errors (commented out disabled CLI code)Test Results
Verification
Related