Skip to content

fix: close the log file when InitLogFile returns early - #863

Merged
mwbrooks merged 2 commits into
mainfrom
mwbrooks-fix-init-log-file-close
Nov 24, 2026
Merged

mwbrooks merged 2 commits into
mainfrom
mwbrooks-fix-init-log-file-close

Merge branch 'main' into mwbrooks-fix-init-log-file-close

5088359
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 24, 2026 in 0s

80.69% (+0.02%) compared to 1b757c7

View this Pull Request on Codecov

80.69% (+0.02%) compared to 1b757c7

Details

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.69%. Comparing base (1b757c7) to head (5088359).

Files with missing lines Patch % Lines
internal/iostreams/logfile.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #863      +/-   ##
==========================================
+ Coverage   80.66%   80.69%   +0.02%     
==========================================
  Files         247      247              
  Lines       18824    18824              
==========================================
+ Hits        15185    15190       +5     
+ Misses       3639     3634       -5     

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