Skip to content

Fix workmanager download bugs#316

Open
dishit-wednesday wants to merge 6 commits into
mainfrom
fix-workmanager-download-bugs
Open

Fix workmanager download bugs#316
dishit-wednesday wants to merge 6 commits into
mainfrom
fix-workmanager-download-bugs

fix(downloads): validate mmproj integrity on move failure and ref-cou…

68b4b2a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 24, 2026 in 1s

83.76% (target 80.00%)

View this Pull Request on Codecov

83.76% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 52.72727% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.76%. Comparing base (9a0b2b5) to head (68b4b2a).

Files with missing lines Patch % Lines
src/screens/ModelsScreen/useModelsScreen.ts 26.66% 8 Missing and 3 partials ⚠️
src/services/modelManager/download.ts 70.83% 4 Missing and 3 partials ⚠️
src/screens/ModelsScreen/useTextModels.ts 25.00% 3 Missing and 3 partials ⚠️
src/services/huggingface.ts 75.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #316      +/-   ##
==========================================
- Coverage   83.83%   83.76%   -0.07%     
==========================================
  Files         223      223              
  Lines       11460    11482      +22     
  Branches     3144     3154      +10     
==========================================
+ Hits         9607     9618      +11     
- Misses       1070     1078       +8     
- Partials      783      786       +3     
Files with missing lines Coverage Δ
src/screens/DownloadManagerScreen/index.tsx 93.33% <ø> (ø)
...creens/DownloadManagerScreen/useDownloadManager.ts 58.07% <ø> (-1.59%) ⬇️
src/services/modelManager/restore.ts 88.33% <ø> (ø)
src/services/huggingface.ts 87.03% <75.00%> (-0.24%) ⬇️
src/screens/ModelsScreen/useTextModels.ts 77.29% <25.00%> (-1.64%) ⬇️
src/services/modelManager/download.ts 81.34% <70.83%> (+1.68%) ⬆️
src/screens/ModelsScreen/useModelsScreen.ts 82.75% <26.66%> (-5.82%) ⬇️

... and 2 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.