Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Fix unit test

b20384e
Select commit
Loading
Failed to load commit list.
Open

Feature: Add incremental snapshots #96

Fix unit test
b20384e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 1, 2025 in 1s

56.97% (target 60.00%)

View this Pull Request on Codecov

56.97% (target 60.00%)

Details

Codecov Report

❌ Patch coverage is 31.31115% with 702 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.97%. Comparing base (930c590) to head (b20384e).

Files with missing lines Patch % Lines
sc/memiavl/snapshot.go 7.46% 486 Missing and 10 partials ⚠️
sc/memiavl/incremental_snapshot.go 54.50% 93 Missing and 23 partials ⚠️
sc/memiavl/overlay_snapshot.go 56.49% 74 Missing and 3 partials ⚠️
sc/memiavl/tree.go 38.46% 8 Missing ⚠️
ss/pebbledb/db.go 0.00% 4 Missing ⚠️
sc/memiavl/db.go 94.73% 0 Missing and 1 partial ⚠️

❌ Your project check has failed because the head coverage (56.97%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
- Coverage   63.67%   56.97%   -6.71%     
==========================================
  Files          28       30       +2     
  Lines        4047     5050    +1003     
==========================================
+ Hits         2577     2877     +300     
- Misses       1171     1837     +666     
- Partials      299      336      +37     
Files with missing lines Coverage Δ
sc/memiavl/filelock.go 53.84% <ø> (ø)
sc/memiavl/mem_node.go 95.16% <ø> (ø)
sc/memiavl/multitree.go 70.79% <100.00%> (-0.96%) ⬇️
sc/memiavl/opts.go 85.71% <100.00%> (+2.38%) ⬆️
sc/memiavl/persisted_node.go 94.53% <100.00%> (ø)
sc/memiavl/db.go 59.25% <94.73%> (+0.98%) ⬆️
ss/pebbledb/db.go 57.18% <0.00%> (-0.09%) ⬇️
sc/memiavl/tree.go 74.35% <38.46%> (-2.43%) ⬇️
sc/memiavl/overlay_snapshot.go 56.49% <56.49%> (ø)
sc/memiavl/incremental_snapshot.go 54.50% <54.50%> (ø)
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.