• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubernetes-sigs / inference-perf / 40405571998
87%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 09:45PM UTC
Jobs 1
Files 136
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 09:34PM UTC coverage: 84.75% (+0.4%) from 84.363%
40405571998

push

github

web-flow
test: cover circuit breaker behavior and reset trigger state (#926)

## Summary

- Add unit tests for SimpleCircuitBreaker, Consecutive, and
RateOverWindow.
- Cover matching and rule evaluation, threshold boundaries, window
eviction, minimum samples, and reset behavior.
- Test circuit-breaker configuration validation, initialization, lookup,
and metric fan-out.
- Add a load-generator integration test using a real tripped circuit
breaker.
- Fix SimpleCircuitBreaker.reset() to reset its triggers, not just the
open flag.

## Regression verification

The new reset regression test verifies that a threshold-3 breaker
requires three new matching metrics after reset.

Verified that:
- Removing the production fix makes the regression test fail.
- Restoring the fix makes the test pass.

## Scope

Existing JMESPath exception handling is tested but not changed. Metric
timestamp behavior is also unchanged. This avoids introducing unrelated
changes to multiprocess metric collection or clock handling.

## Validation

- Focused tests: 53 passed.
- Full test suite: 2,518 passed, 9 skipped.
- `pdm run validate`: passed.
- License checks for all changed Python files: passed.

Fixes #732

/kind bug

2 of 2 new or added lines in 1 file covered. (100.0%)

12549 of 14807 relevant lines covered (84.75%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40405571998.1 26 Oct 2026 09:45PM UTC 136
84.75
GitHub Action Run
Source Files on build 40405571998
  • Tree
  • List 136
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40405571998
  • e1586d1c on github
  • Prev Build on main (#40365777086)
  • Next Build on main (#40406160516)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc