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

zalando / skipper / 41825479905
81%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2026 12:17PM UTC
Jobs 1
Files 333
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

04 Nov 2026 11:59AM UTC coverage: 81.257% (-0.03%) from 81.283%
41825479905

push

github

web-flow
feat(routegroup): wrap validation errors with namespace and name (#4390)

### Summary
Ensures `RouteGroup` sub-component validation errors (filters,
predicates, backends, and duplicate hosts) include the target resource's
namespace and name (`error in route group <namespace>/<name>: <err>`),
resolving prior TODOs and standardizing error reporting across the
Kubernetes dataclient and admission controller.

### Motivation
Validation failures in sub-components previously returned unwrapped
error strings (such as `parse failed after token ...` or `backend
address ... does not match scheme://host format`). In admission logs and
cluster-wide validation pipelines, this lacked resource context, making
it difficult to pinpoint which `RouteGroup` triggered the failure.

### Changes
* `dataclients/kubernetes/definitions/routegroupvalidator.go`:
  * Removed obsolete TODO comments.
* Wrapped errors in `validateFilters`, `validatePredicates`,
`validateBackends`, and `validateHosts` using
`routeGroupError(item.Metadata, ...)`.
* Updated relevant test fixtures and assertions to expect the wrapped
prefix:
  * `dataclients/kubernetes/admission/admission_test.go`
* `dataclients/kubernetes/definitions/testdata/errorwrapdata/errors.log`
* `dataclients/kubernetes/testdata/routegroups/convert/*.log`
(`failing-filter`, `failing-predicate`,
`no-catchall-for-failed-route-group`,
`single-failing-route-makes-the-group-fail`)

Signed-off-by: Shardool Patil <shardoolpatil999@gmail.com>

6 of 8 new or added lines in 1 file covered. (75.0%)

9 existing lines in 4 files now uncovered.

28089 of 34568 relevant lines covered (81.26%)

70925.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.49
0.0% dataclients/kubernetes/definitions/routegroupvalidator.go

Coverage Regressions

Lines Coverage ∆ File
3
94.39
-1.53% filters/tee/tee.go
3
86.49
-8.11% proxy/teebody.go
2
91.65
-0.16% proxy/proxy.go
1
99.3
-0.35% filters/apiusagemonitoring/spec.go
Jobs
ID Job ID Ran Files Coverage
1 41825479905.1 04 Nov 2026 12:17PM UTC 333
81.26
GitHub Action Run
Source Files on build 41825479905
  • Tree
  • List 333
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41825479905
  • f0241286 on github
  • Prev Build on master (#41819601178)
  • Next Build on master (#42231445820)
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