Skip to content

feat: ranked aggregate indexes with provable top-K queries (protocol v14) - #4266

Merged
QuantumExplorer merged 41 commits into
v4.2-devfrom
claude/grovedb-pr657-integration-b6f426
Aug 4, 2026
Merged

feat: ranked aggregate indexes with provable top-K queries (protocol v14)#4266
QuantumExplorer merged 41 commits into
v4.2-devfrom
claude/grovedb-pr657-integration-b6f426

feat(dapi-grpc): ranked averages travel as a double on the no-proof path

745581d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 4, 2026 in 1s

87.57% (+0.03%) compared to 746b34d

View this Pull Request on Codecov

87.57% (+0.03%) compared to 746b34d

Details

Codecov Report

❌ Patch coverage is 87.24340% with 348 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.57%. Comparing base (746b34d) to head (745581d).

Files with missing lines Patch % Lines
...-drive-proof-verifier/src/proof/document_ranked.rs 0.00% 104 Missing ⚠️
packages/rs-drive/src/fees/op.rs 47.09% 82 Missing ⚠️
...ument_type/class_methods/try_from_schema/v3/mod.rs 94.09% 35 Missing ⚠️
...s/rs-drive-abci/src/query/document_query/v1/mod.rs 86.34% 28 Missing ⚠️
...s-dpp/src/data_contract/document_type/index/mod.rs 94.08% 23 Missing ⚠️
...rc/drive/contract/update/update_contract/v0/mod.rs 60.00% 20 Missing ⚠️
...drive/src/query/drive_document_ranked_query/mod.rs 62.50% 9 Missing ⚠️
...rive/src/query/drive_document_ranked_query/path.rs 58.82% 7 Missing ⚠️
...drive/src/drive/document/index_level_tree_types.rs 94.64% 6 Missing ⚠️
...query/drive_document_ranked_query/execute_top_k.rs 93.47% 6 Missing ⚠️
... and 14 more
Additional details and impacted files
@@             Coverage Diff              @@
##           v4.2-dev    #4266      +/-   ##
============================================
+ Coverage     87.54%   87.57%   +0.03%     
============================================
  Files          2679     2700      +21     
  Lines        341312   344254    +2942     
============================================
+ Hits         298798   301493    +2695     
- Misses        42514    42761     +247     
Components Coverage Δ
dpp 88.70% <95.10%> (+0.15%) ⬆️
drive 86.25% <85.28%> (-0.01%) ⬇️
drive-abci 89.66% <88.16%> (+0.09%) ⬆️
sdk ∅ <ø> (∅)
dapi-client ∅ <ø> (∅)
platform-version ∅ <ø> (∅)
platform-value 92.88% <ø> (ø)
platform-wallet ∅ <ø> (∅)
drive-proof-verifier 48.02% <0.00%> (-1.58%) ⬇️
🚀 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.