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

stacklok / toolhive / 33208280784
70%

Build:
DEFAULT BRANCH: main
Ran 28 Aug 2026 08:35PM UTC
Jobs 1
Files 903
Run time 2min
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

28 Aug 2026 08:27PM UTC coverage: 69.703% (+0.02%) from 69.687%
33208280784

push

github

web-flow
Degrade transient optional list failures in Modern enumeration (#6348)

* Degrade optional lists on transient Modern errors

A rate-limited Modern backend that answers an optional capability
enumeration (resources/list, resources/templates/list or prompts/list)
with a transient HTTP 429 was misclassified as ErrBackendUnavailable,
flipping a reachable backend to unhealthy/degraded and aggregate
Ready=false even though initialize and tools/list succeeded.

Degrade a transient failure on an optional list to an empty result
instead of failing the whole enumeration. tools/list stays fatal; the
-32601 not-implemented degradation is unchanged.

Fixes #6347

Signed-off-by: lorenzozanee <wyz0707@proton.me>

* refactor: deduplicate optional list degradation into modernListOptional

Extract the three nearly-identical optional-list degradation switches in
modernEnumerate into a single modernListOptional helper, dropping the
function's cyclomatic complexity back under the gocyclo threshold (15).
Behavior is unchanged: a transient list failure degrades with a WARN, a
-32601 degrades only for resources/templates/list (mirroring the Legacy
path), and tools/list stays fatal.

---------

Signed-off-by: lorenzozanee <wyz0707@proton.me>
Co-authored-by: reyortiz3 <reynier@stacklok.com>

16 of 18 new or added lines in 1 file covered. (88.89%)

7 existing lines in 3 files now uncovered.

76357 of 109546 relevant lines covered (69.7%)

91.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.56
1.74% pkg/vmcp/client/client.go

Coverage Regressions

Lines Coverage ∆ File
3
96.18
-0.57% pkg/authz/authorizers/cedar/core.go
2
68.8
-0.85% pkg/ignore/processor.go
2
82.56
1.74% pkg/vmcp/client/client.go
Jobs
ID Job ID Ran Files Coverage
1 33208280784.1 28 Aug 2026 08:35PM UTC 903
69.7
GitHub Action Run
Source Files on build 33208280784
  • Tree
  • List 903
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33208280784
  • 6c143963 on github
  • Prev Build on main (#33204496266)
  • Next Build on main (#33268421157)
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