Skip to content

fix: write project TOML files atomically - #3871

Merged
frostming merged 1 commit into
mainfrom
fix/atomic-project-file-writes
Aug 31, 2026
Merged

fix: write project TOML files atomically#3871
frostming merged 1 commit into
mainfrom
fix/atomic-project-file-writes

fix: write project TOML files atomically

81297cb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 31, 2026 in 1s

88.79% (-0.01%) compared to b6acd0e, passed because coverage increased by 0% when compared to adjusted base (88.79%)

View this Pull Request on Codecov

88.79% (-0.01%) compared to b6acd0e, passed because coverage increased by 0% when compared to adjusted base (88.79%)

Details

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.79%. Comparing base (b6acd0e) to head (81297cb).

Files with missing lines Patch % Lines
src/pdm/project/toml_file.py 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3871      +/-   ##
==========================================
- Coverage   88.79%   88.79%   -0.01%     
==========================================
  Files         120      120              
  Lines       13322    13330       +8     
  Branches     2265     2267       +2     
==========================================
+ Hits        11829    11836       +7     
  Misses        931      931              
- Partials      562      563       +1     

☔ 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.