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

stacklok / toolhive / 19766671961
50%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2025 02:32PM UTC
Jobs 1
Files 387
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

28 Nov 2025 02:30PM UTC coverage: 49.931% (+0.02%) from 49.913%
19766671961

push

github

web-flow
Two minor fixes for vMCP retryDelay handling (#2795)

* Add webhook validation for RetryDelay field

Add admission-time validation for the RetryDelay field in
VirtualMCPServer composite tool error handling. This ensures
invalid duration formats are rejected with clear error messages
instead of silently failing during conversion.

Changes:
- Add RetryDelay format validation in validateStepErrorHandling()
- Reuse existing validateDuration() from the same package
- Add tests for valid durations (5s, 1m30s) and invalid formats

* Add error logging for RetryDelay parsing failures

Log a warning when RetryDelay duration parsing fails in the converter.
This improves debugging by making it clear when an invalid duration
is silently defaulting to zero, even though webhook validation should
catch invalid formats at admission time.

* Add ErrorAction constants for workflow error handling

Define ErrorActionAbort, ErrorActionContinue, and ErrorActionRetry
constants to replace string literals in webhook validation code.
This addresses a goconst linter warning about repeated string usage
and improves code maintainability.

21 of 22 new or added lines in 3 files covered. (95.45%)

25682 of 51435 relevant lines covered (49.93%)

60.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
77.66
0.0% cmd/thv-operator/api/v1alpha1/virtualmcpcompositetooldefinition_webhook.go
Jobs
ID Job ID Ran Files Coverage
1 19766671961.1 28 Nov 2025 02:32PM UTC 387
49.93
GitHub Action Run
Source Files on build 19766671961
  • Tree
  • List 387
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19766671961
  • c73c5ef9 on github
  • Prev Build on main (#19766666277)
  • Next Build on main (#19769886661)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc