Skip to content

fix(batch): cancel in-flight tasks when execute() exits

2d17f96
Select commit
Loading
Failed to load commit list.
Open

fix(batch): cancel in-flight tasks when InfrahubBatch.execute() exits #1002

fix(batch): cancel in-flight tasks when execute() exits
2d17f96
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 8, 2026 in 1s

81.42% (target 0.00%)

View this Pull Request on Codecov

81.42% (target 0.00%)

Details

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/batch.py 80.00% 1 Missing and 1 partial ⚠️
@@             Coverage Diff             @@
##           develop    #1002      +/-   ##
===========================================
- Coverage    81.43%   81.42%   -0.02%     
===========================================
  Files          134      134              
  Lines        11359    11352       -7     
  Branches      1703     1705       +2     
===========================================
- Hits          9250     9243       -7     
  Misses        1566     1566              
  Partials       543      543              
Files with missing lines Coverage Δ
infrahub_sdk/batch.py 94.73% <80.00%> (+0.37%) ⬆️

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