Skip to content

refactor: Reduce duplication in failure and workload policies

fffb63f
Select commit
Loading
Failed to load commit list.
Merged

feat: Extend builders, improve users and maintainers quality of life #17

refactor: Reduce duplication in failure and workload policies
fffb63f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 28, 2026 in 1s

95.46% (+0.08%) compared to 91cbe52

View this Pull Request on Codecov

95.46% (+0.08%) compared to 91cbe52

Details

Codecov Report

❌ Patch coverage is 95.56921% with 137 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.46%. Comparing base (91cbe52) to head (fffb63f).
⚠️ Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
eclypse/builders/workflow/_helpers.py 84.09% 13 Missing and 15 partials ⚠️
eclypse/policies/degrade/ramp_to.py 80.00% 5 Missing and 4 partials ⚠️
eclypse/policies/degrade/restore.py 79.06% 5 Missing and 4 partials ⚠️
eclypse/policies/constraints/normalise.py 72.72% 3 Missing and 3 partials ⚠️
eclypse/policies/failure/resource_exhaustion.py 66.66% 3 Missing and 3 partials ⚠️
eclypse/policies/schedule/jittered_every.py 80.64% 3 Missing and 3 partials ⚠️
eclypse/policies/topology/rewire.py 72.72% 3 Missing and 3 partials ⚠️
eclypse/policies/compose/weighted_choice.py 66.66% 2 Missing and 2 partials ⚠️
eclypse/policies/distribution/poisson.py 81.81% 2 Missing and 2 partials ⚠️
eclypse/policies/noise/additive_jitter.py 82.60% 3 Missing and 1 partial ⚠️
... and 29 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   95.37%   95.46%   +0.08%     
==========================================
  Files         166      375     +209     
  Lines        4761     7866    +3105     
  Branches      611      844     +233     
==========================================
+ Hits         4541     7509    +2968     
- Misses        106      181      +75     
- Partials      114      176      +62     

☔ View full report in Codecov by Sentry.
📢 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.