Skip to content

Rewrite document fetcher

Codecov / codecov/project succeeded Nov 28, 2024 in 0s

78.04% (+0.09%) compared to 8509211

View this Pull Request on Codecov

78.04% (+0.09%) compared to 8509211

Details

Codecov Report

Attention: Patch coverage is 78.57143% with 81 lines in your changes missing coverage. Please review.

Project coverage is 78.04%. Comparing base (8509211) to head (f03a867).

Files with missing lines Patch % Lines
internal/db/fetcher/wrapper.go 78.95% 13 Missing and 7 partials ⚠️
internal/db/fetcher/deleted.go 65.91% 11 Missing and 4 partials ⚠️
internal/db/fetcher/document.go 85.58% 10 Missing and 5 partials ⚠️
internal/db/fetcher/prefix.go 75.81% 10 Missing and 5 partials ⚠️
internal/db/fetcher/filtered.go 70.00% 6 Missing and 3 partials ⚠️
internal/db/fetcher/permissioned.go 82.86% 4 Missing and 2 partials ⚠️
internal/db/fetcher/versioned.go 80.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3279      +/-   ##
===========================================
+ Coverage    77.95%   78.04%   +0.09%     
===========================================
  Files          382      388       +6     
  Lines        35364    35298      -66     
===========================================
- Hits         27568    27548      -20     
+ Misses        6148     6120      -28     
+ Partials      1648     1630      -18     
Files with missing lines Coverage Δ
internal/db/collection.go 69.87% <100.00%> (ø)
internal/db/collection_get.go 74.14% <100.00%> (ø)
internal/db/collection_index.go 87.43% <ø> (-0.03%) ⬇️
internal/db/fetcher/fetcher.go 100.00% <ø> (+22.78%) ⬆️
internal/db/fetcher/indexer.go 83.69% <ø> (-0.11%) ⬇️
internal/lens/fetcher.go 70.09% <ø> (-0.14%) ⬇️
internal/planner/scan.go 89.88% <100.00%> (-0.04%) ⬇️
internal/db/fetcher/versioned.go 81.77% <80.00%> (+1.55%) ⬆️
internal/db/fetcher/permissioned.go 82.86% <82.86%> (ø)
internal/db/fetcher/filtered.go 70.00% <70.00%> (ø)
... and 4 more

... and 19 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8509211...f03a867. Read the comment docs.