Skip to content

fix: use effectiveTime instead of time.Now() in computeSuccesses

09561ba
Select commit
Loading
Failed to load commit list.
Open

feat: add direct OPA evaluator with shared base infrastructure #3276

fix: use effectiveTime instead of time.Now() in computeSuccesses
09561ba
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project/cli succeeded May 7, 2026 in 1s

76.14% (+0.46%) compared to 80ba173

View this Pull Request on Codecov

76.14% (+0.46%) compared to 80ba173

Details

Codecov Report

❌ Patch coverage is 86.92153% with 65 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/evaluator/base_evaluator.go 85.77% 33 Missing ⚠️
internal/evaluator/opa_evaluator.go 88.18% 26 Missing ⚠️
...ation_snapshot_image/application_snapshot_image.go 93.54% 2 Missing ⚠️
internal/image/validate.go 75.00% 2 Missing ⚠️
internal/validate/vsa/fallback.go 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
cmd/validate/image.go 91.62% <100.00%> (+0.25%) ⬆️
internal/evaluator/conftest_evaluator.go 88.65% <100.00%> (ø)
...ation_snapshot_image/application_snapshot_image.go 83.96% <93.54%> (+1.28%) ⬆️
internal/image/validate.go 70.42% <75.00%> (-0.39%) ⬇️
internal/validate/vsa/fallback.go 36.84% <0.00%> (-0.50%) ⬇️
internal/evaluator/opa_evaluator.go 88.18% <88.18%> (-11.82%) ⬇️
internal/evaluator/base_evaluator.go 85.77% <85.77%> (ø)

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