Skip to content

Final download refactor#322

Merged
dishit-wednesday merged 37 commits into
testv/0.0.90from
final-download-refactor
Apr 27, 2026
Merged

Final download refactor#322
dishit-wednesday merged 37 commits into
testv/0.0.90from
final-download-refactor

fix tests

6202199
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 27, 2026 in 1s

82.53% (target 80.00%)

View this Pull Request on Codecov

82.53% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 53.90428% with 366 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.53%. Comparing base (9a0b2b5) to head (6202199).

Files with missing lines Patch % Lines
src/hooks/useDownloads.ts 0.00% 67 Missing ⚠️
src/screens/ModelsScreen/imageDownloadActions.ts 62.77% 34 Missing and 17 partials ⚠️
src/screens/ModelsScreen/imageDownloadResume.ts 0.00% 50 Missing ⚠️
...creens/DownloadManagerScreen/useDownloadManager.ts 53.62% 18 Missing and 14 partials ⚠️
src/stores/downloadStore.ts 74.28% 7 Missing and 20 partials ⚠️
src/services/downloadHydration.ts 60.65% 8 Missing and 16 partials ⚠️
src/screens/ModelsScreen/useImageModels.ts 36.36% 14 Missing ⚠️
src/screens/ModelsScreen/imageDownloadQnn.ts 18.75% 11 Missing and 2 partials ⚠️
src/screens/ModelsScreen/useTextModels.ts 55.55% 10 Missing and 2 partials ⚠️
src/utils/downloadErrors.ts 60.00% 6 Missing and 6 partials ⚠️
... and 15 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
- Coverage   83.83%   82.53%   -1.30%     
==========================================
  Files         223      229       +6     
  Lines       11460    11457       -3     
  Branches     3144     3160      +16     
==========================================
- Hits         9607     9456     -151     
- Misses       1070     1187     +117     
- Partials      783      814      +31     
Files with missing lines Coverage Δ
src/components/ModelCard.tsx 82.92% <ø> (ø)
src/screens/DownloadManagerScreen/index.tsx 93.33% <ø> (ø)
src/screens/DownloadManagerScreen/styles.ts 100.00% <ø> (ø)
src/screens/ModelsScreen/index.tsx 71.79% <ø> (ø)
src/services/modelManager/downloadHelpers.ts 95.94% <ø> (ø)
src/services/modelManager/imageSync.ts 95.23% <ø> (ø)
src/services/whisperService.ts 79.88% <100.00%> (ø)
src/stores/appStore.ts 91.78% <100.00%> (-2.40%) ⬇️
src/utils/modelKey.ts 100.00% <100.00%> (ø)
src/components/ChatInput/index.tsx 84.81% <0.00%> (ø)
... and 24 more

... and 1 file 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.