Skip to content

feat(search): port upstream retrieval and ranking controls - #255

Merged
sunerpy merged 1 commit into
mainfrom
codex/wave2-retrieval-ranking
Aug 31, 2026
Merged

sunerpy merged 1 commit into
mainfrom
codex/wave2-retrieval-ranking

Conversation

@sunerpy

@sunerpy sunerpy commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • port bounded explicit-path pinning into explore, including normalization, suffix resolution, unresolved-path reporting, source-budget reservation, and pinned-file priority
  • add exact-name expression-index seeks and Variable/Constant camel-segment seeds without slowing ordinary search
  • add ordered, ranking-only deprioritize rules from JSON then TOML, with per-request MCP reload
  • update canonical Skill and EN/ZH CLI/MCP/equivalence documentation

Upstream mapping

  • 238dbc5 path pinning, segment seeds, Variable/Constant support
  • ccb0295 extensionless kebab basename handling
  • 9219967 exact-name SQL index seek
  • 1d9de88 deprioritize ranking configuration

Compatibility

  • extraction version remains 12
  • no node-id changes
  • no golden fixture changes
  • no release manifest/version edits

Verification

  • make ci
  • cargo test -p codegraph-mcp --test rmcp_http in loopback-capable environment
  • canonical Skill quick_validate.py
  • codegraph status . --json: current extraction v12, zero pending changes
  • make coverage was attempted but the informational run stopped with ENOSPC while creating its isolated target directory; no percentage is quoted

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.12195% with 46 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/codegraph-core/src/deprioritize.rs 88.88% 18 Missing ⚠️
crates/codegraph-mcp/src/query_paths.rs 94.59% 16 Missing ⚠️
crates/codegraph-mcp/src/engine.rs 96.90% 10 Missing ⚠️
crates/codegraph-cli/src/main.rs 87.50% 1 Missing ⚠️
crates/codegraph-graph/src/segments.rs 96.29% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff            @@
##             main     #255    +/-   ##
========================================
  Coverage   95.38%   95.39%            
========================================
  Files         142      144     +2     
  Lines       82817    83702   +885     
========================================
+ Hits        78997    79845   +848     
- Misses       3820     3857    +37     
Files with missing lines Coverage Δ
crates/codegraph-core/src/config.rs 99.06% <100.00%> (+0.02%) ⬆️
crates/codegraph-graph/src/query/mod.rs 94.84% <100.00%> (+1.09%) ⬆️
crates/codegraph-graph/src/query/scoring.rs 98.56% <100.00%> (+<0.01%) ⬆️
crates/codegraph-graph/src/segment_match.rs 95.04% <ø> (ø)
crates/codegraph-store/src/queries.rs 98.50% <100.00%> (+0.02%) ⬆️
crates/codegraph-cli/src/main.rs 90.89% <87.50%> (-0.01%) ⬇️
crates/codegraph-graph/src/segments.rs 96.25% <96.29%> (ø)
crates/codegraph-mcp/src/engine.rs 97.90% <96.90%> (-0.02%) ⬇️
crates/codegraph-mcp/src/query_paths.rs 94.59% <94.59%> (ø)
crates/codegraph-core/src/deprioritize.rs 88.88% <88.88%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit 036330c into main Aug 31, 2026
7 checks passed
@sunerpy
sunerpy deleted the codex/wave2-retrieval-ranking branch August 31, 2026 15:43
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