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

kubernetes-sigs / inference-perf / 43353282186
87%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 02:46AM UTC
Jobs 1
Files 142
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

13 Nov 2026 02:35AM UTC coverage: 86.466% (+0.002%) from 86.464%
43353282186

push

github

web-flow
Fail the readiness wait at once on 401 and 403 (#1054)

Fixes #1034. Part of #979.

`wait_until_ready` treated 401 and 403 like 503, so a wrong `api_key`
(or a gateway that guards `/health`) polled the whole 600 s budget
before the run failed. It now raises on the first 401 or 403, naming the
URL and the status, the same way a 404 already ends the wait at once.

```
Server refused the readiness probe: http://localhost:8000/health answered HTTP 401; check the api_key and any auth headers
```

Tests, next to `test_404_route_is_not_waited_for`:
- 401 and 403 on `/health` raise after one probe with no sleep
- SGLang profile with a wrong key: `/v1/models` answers 401 and the
client raises at t=0
- 503 then 403: the wait ends on the 403 after one sleep

On main the new tests fail like this:

```
E       AssertionError: Regex pattern did not match.
E         Expected regex: 'http://localhost:8000/health answered HTTP 401'
E         Actual message: 'Server not ready: http://localhost:8000/health did not answer 200 within 10.0s (last: HTTP 401)'
```

Local checks: `pdm run validate`, `pdm run test` (3199 passed), `pdm run
check:cov`, and `pdm run test:e2e` with `llm-d-inference-sim` v1.0.0 on
`PATH` all pass.

@Bslabe123

Signed-off-by: KVR Vishnu <46535652+VISHNU0906@users.noreply.github.com>

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

13812 of 15974 relevant lines covered (86.47%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43353282186.1 13 Nov 2026 02:46AM UTC 142
86.47
GitHub Action Run
Source Files on build 43353282186
  • Tree
  • List 142
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43353282186
  • 2eec3b02 on github
  • Prev Build on main (#43302222367)
  • Next Build on main (#43354654836)
  • 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