Skip to content

test: add unit tests for build isolation and resource tracking functions

f51dafc
Select commit
Loading
Failed to load commit list.
Draft

feat: add container resource limits and build isolation tracking #655

test: add unit tests for build isolation and resource tracking functions
f51dafc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 10, 2025 in 0s

58.20% (target 90.00%)

View this Pull Request on Codecov

58.20% (target 90.00%)

Details

Codecov Report

❌ Patch coverage is 48.09160% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.20%. Comparing base (14f88b0) to head (f51dafc).

Files with missing lines Patch % Lines
cmd/vela-worker/exec.go 20.37% 42 Missing and 1 partial ⚠️
runtime/docker/volume.go 70.00% 12 Missing and 3 partials ⚠️
cmd/vela-worker/run.go 0.00% 7 Missing ⚠️
mock/docker/image.go 0.00% 3 Missing ⚠️

❌ Your project check has failed because the head coverage (58.20%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #655      +/-   ##
==========================================
- Coverage   58.24%   58.20%   -0.05%     
==========================================
  Files         123      123              
  Lines        8368     8481     +113     
==========================================
+ Hits         4874     4936      +62     
- Misses       3283     3330      +47     
- Partials      211      215       +4     
Files with missing lines Coverage Δ
cmd/vela-worker/flags.go 0.00% <ø> (ø)
runtime/docker/container.go 82.47% <100.00%> (+1.08%) ⬆️
mock/docker/image.go 0.00% <0.00%> (ø)
cmd/vela-worker/run.go 0.00% <0.00%> (ø)
runtime/docker/volume.go 84.78% <70.00%> (-2.22%) ⬇️
cmd/vela-worker/exec.go 3.28% <20.37%> (+3.28%) ⬆️

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