Skip to content

Utility for detection of resource leaks - #4324

Merged
cody-littley merged 7 commits into
mainfrom
cjl/must-close
Sep 28, 2026
Merged

cody-littley merged 7 commits into
mainfrom
cjl/must-close

fix test leak

5945a33
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 28, 2026 in 1s

66.99% (-0.72%) compared to 0a017df

View this Pull Request on Codecov

66.99% (-0.72%) compared to 0a017df

Details

Codecov Report

❌ Patch coverage is 84.26966% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.99%. Comparing base (0a017df) to head (5945a33).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sei-db/state_db/sc/flatkv/store_write.go 52.94% 8 Missing ⚠️
sei-db/state_db/giga/state_db.go 0.00% 2 Missing ⚠️
sei-db/state_db/sc/flatkv/finalization_manager.go 81.81% 2 Missing ⚠️
sei-db/state_db/sc/flatkv/importer.go 75.00% 1 Missing ⚠️
sei-db/state_db/sc/flatkv/snapshot_writer.go 83.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4324      +/-   ##
==========================================
- Coverage   67.70%   66.99%   -0.72%     
==========================================
  Files        2168     2133      -35     
  Lines      168283   162448    -5835     
==========================================
- Hits       113938   108824    -5114     
+ Misses      54336    53614     -722     
- Partials        9       10       +1     
Files with missing lines Coverage Δ
sei-db/db_engine/litt/disktable/disk_table.go 81.38% <ø> (ø)
...ei-db/db_engine/litt/disktable/forward_iterator.go 89.10% <ø> (-0.80%) ⬇️
...b_engine/litt/disktable/keymap/pebble_db_keymap.go 77.65% <ø> (ø)
...ei-db/db_engine/litt/disktable/reverse_iterator.go 91.30% <ø> (-1.29%) ⬇️
sei-db/db_engine/litt/util/file_lock.go 74.48% <ø> (-0.52%) ⬇️
sei-db/db_engine/pebbledb/batch.go 95.45% <ø> (-0.20%) ⬇️
sei-db/db_engine/pebbledb/db.go 82.00% <ø> (-0.36%) ⬇️
sei-db/db_engine/pebbledb/iterator.go 84.61% <ø> (ø)
sei-db/db_engine/pebbledb/mvcc/iterator.go 75.00% <ø> (-0.11%) ⬇️
...i-db/db_engine/pebbledb/mvcc/iterator_ascending.go 76.68% <ø> (+0.39%) ⬆️
... and 22 more

... and 237 files with indirect coverage changes

🚀 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.