Skip to content

fix: make file replacements atomic - #568

Open
wangl-cc wants to merge 4 commits into
mainfrom
codex/atomic-file-replacements
Open

wangl-cc wants to merge 4 commits into
mainfrom
codex/atomic-file-replacements

docs: clarify concurrent ETag cache behavior

4c90d76
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 13, 2026 in 0s

72.93% (+0.85%) compared to dc7d1a9

View this Pull Request on Codecov

72.93% (+0.85%) compared to dc7d1a9

Details

Codecov Report

❌ Patch coverage is 82.47423% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.93%. Comparing base (dc7d1a9) to head (4c90d76).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/maa-atomic-fs/src/lib.rs 89.70% 1 Missing and 6 partials ⚠️
crates/maa-installer/src/download/etag.rs 71.42% 3 Missing and 3 partials ⚠️
crates/maa-cli/src/config/import.rs 40.00% 3 Missing ⚠️
crates/maa-cli/src/run/preset/copilot.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #568      +/-   ##
==========================================
+ Coverage   72.07%   72.93%   +0.85%     
==========================================
  Files          72       72              
  Lines        6679     6809     +130     
  Branches     6679     6809     +130     
==========================================
+ Hits         4814     4966     +152     
- Misses       1523     1545      +22     
+ Partials      342      298      -44     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.