Skip to content

feat(drive): time-range index TTL — O(1) flat-drop drainage and ephemeral-bytes fees - #4581

Open
QuantumExplorer wants to merge 22 commits into
v4.2-devfrom
claude/time-range-ttl
Open

feat(drive): time-range index TTL — O(1) flat-drop drainage and ephemeral-bytes fees#4581
QuantumExplorer wants to merge 22 commits into
v4.2-devfrom
claude/time-range-ttl

fix(drive): span TTL preparation with an owned transaction in the bat…

8a59d9d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 10, 2026 in 1s

85.19% (-1.55%) compared to 749e391

View this Pull Request on Codecov

85.19% (-1.55%) compared to 749e391

Details

Codecov Report

❌ Patch coverage is 76.23702% with 389 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.19%. Comparing base (749e391) to head (8a59d9d).
⚠️ Report is 88 commits behind head on v4.2-dev.

Files with missing lines Patch % Lines
packages/rs-drive/src/fees/op.rs 62.50% 48 Missing ⚠️
packages/rs-drive/src/query/mod.rs 69.16% 37 Missing ⚠️
...rs-drive/src/util/batch/drive_op_batch/document.rs 77.20% 31 Missing ⚠️
...t_type/class_methods/try_from_schema/common/mod.rs 65.21% 24 Missing ⚠️
...s-dpp/src/data_contract/document_type/index/mod.rs 76.92% 21 Missing ⚠️
...ages/rs-drive/src/drive/document/time_range_ttl.rs 94.28% 20 Missing ⚠️
..._for_index_level_for_contract_operations/v1/mod.rs 54.05% 17 Missing ⚠️
.../update_document_for_contract_operations/v1/mod.rs 75.36% 17 Missing ⚠️
...s/rs-drive-abci/src/platform_types/platform/mod.rs 12.50% 14 Missing ⚠️
..._top_index_level_for_contract_operations/v2/mod.rs 77.96% 13 Missing ⚠️
... and 42 more
Additional details and impacted files
@@             Coverage Diff              @@
##           v4.2-dev    #4581      +/-   ##
============================================
- Coverage     86.73%   85.19%   -1.55%     
============================================
  Files          2756     2768      +12     
  Lines        360939   373658   +12719     
============================================
+ Hits         313073   318350    +5277     
- Misses        47866    55308    +7442     
Components Coverage Δ
dpp 84.97% <71.87%> (-2.22%) ⬇️
drive 83.99% <77.73%> (-1.10%) ⬇️
drive-abci 89.01% <43.58%> (-0.81%) ⬇️
sdk ∅ <ø> (∅)
dapi-client ∅ <ø> (∅)
platform-version ∅ <ø> (∅)
platform-value 92.92% <ø> (ø)
platform-wallet ∅ <ø> (∅)
drive-proof-verifier 40.17% <ø> (-9.05%) ⬇️
🚀 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.