Skip to content

add key and value size limits

0b14264
Select commit
Loading
Failed to load commit list.
Open

feat(iavl): add KV data reader & writer, and mmap wrapper #25645

add key and value size limits
0b14264
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 7, 2026 in 1s

70.37% (+0.11%) compared to fd82917

View this Pull Request on Codecov

70.37% (+0.11%) compared to fd82917

Details

Codecov Report

❌ Patch coverage is 85.25074% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.37%. Comparing base (fd82917) to head (0b14264).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
iavl/internal/kvdata_reader.go 82.97% 24 Missing ⚠️
iavl/internal/kvdata_writer.go 87.07% 19 Missing ⚠️
iavl/internal/file_writer.go 71.42% 4 Missing ⚠️
iavl/internal/mmap.go 93.33% 2 Missing ⚠️
iavl/internal/changeset_info.go 85.71% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #25645      +/-   ##
==========================================
+ Coverage   70.26%   70.37%   +0.11%     
==========================================
  Files         835      842       +7     
  Lines       54361    54888     +527     
==========================================
+ Hits        38196    38628     +432     
- Misses      16165    16260      +95     
Files with missing lines Coverage Δ
iavl/internal/leaf_layout.go 66.66% <ø> (ø)
iavl/internal/mem_node.go 95.16% <ø> (+0.71%) ⬆️
iavl/internal/changeset_info.go 84.21% <85.71%> (-4.03%) ⬇️
iavl/internal/mmap.go 93.33% <93.33%> (ø)
iavl/internal/file_writer.go 71.42% <71.42%> (ø)
iavl/internal/kvdata_writer.go 87.07% <87.07%> (ø)
iavl/internal/kvdata_reader.go 82.97% <82.97%> (ø)

... and 4 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.