Skip to content

refactor: migrate self-update to the update-rs crate#1885

Merged
notheotherben merged 4 commits into
mainfrom
feature/update-rs-migration
Jun 21, 2026
Merged

refactor: migrate self-update to the update-rs crate#1885
notheotherben merged 4 commits into
mainfrom
feature/update-rs-migration

refactor: reuse the central HTTP client for self-update requests

ee6f087
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 21, 2026 in 0s

90.07% (+0.40%) compared to 3ae3187

View this Pull Request on Codecov

90.07% (+0.40%) compared to 3ae3187

Details

Codecov Report

❌ Patch coverage is 82.89474% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.07%. Comparing base (3ae3187) to head (ee6f087).

Files with missing lines Patch % Lines
src/commands/update.rs 85.71% 7 Missing ⚠️
src/engine/http.rs 80.00% 3 Missing ⚠️
src/update.rs 70.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1885      +/-   ##
==========================================
+ Coverage   89.66%   90.07%   +0.40%     
==========================================
  Files         107      102       -5     
  Lines        9307     8653     -654     
==========================================
- Hits         8345     7794     -551     
+ Misses        962      859     -103     
Files with missing lines Coverage Δ
src/commands/open.rs 95.12% <100.00%> (-0.12%) ⬇️
src/main.rs 42.46% <100.00%> (+2.20%) ⬆️
src/engine/http.rs 85.96% <80.00%> (-0.40%) ⬇️
src/update.rs 70.00% <70.00%> (ø)
src/commands/update.rs 89.69% <85.71%> (+4.63%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.