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

kubernetes-sigs / external-dns / 40839168075
84%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2026 08:03AM UTC
Jobs 2
Files 165
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

29 Oct 2026 08:01AM UTC coverage: 82.754% (+0.06%) from 82.695%
40839168075

push

github

web-flow
fix(source/gateway-api): treat an explicit empty group as the core group (#6679)

strVal defaults both an omitted field and an empty string to the Gateway API
group, but Gateway API only defaults an omitted field. An explicit empty group
names the core API group, which holds no Gateway and no *Route kind, so it must
not resolve as one.

Add gwGroupOrDefault for the omitted-only defaulting and normParentRef for the
group, kind and namespace that make up a parent's identity, so that membership,
lookup and matching cannot drift apart. gwRouteHasParentRef and resolveParentRef
both go through it.

RouteGroupKind.Group has the same shape and the same default, so a listener
whose allowedRoutes.kinds names the core group was accepting Gateway API routes
as well. It now goes through the same helper. Its Kind is required and has no
default, so the Gateway default that ParentReference.Kind carries is not applied
to it.

A conformant controller accepts no core-group parent, and the source only uses
Accepted parents, so for a parentRef the old reading could only publish records
through a stale Gateway API-group entry in status.parents. A listener whose
kinds name the core group takes no route either, but the source reads the
listener spec, so the old reading also published the route hostnames that
listener matches when the Gateway accepted the route through another listener.
Note the defaulting rule in docs/sources/gateway.md.

Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>

16046 of 19390 relevant lines covered (82.75%)

1493.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
29
89.4
1.94% gateway.go
Jobs
ID Job ID Ran Files Coverage
1 run-macos-latest - 40839168075.1 29 Oct 2026 08:05AM UTC 165
82.75
GitHub Action Run
2 run-ubuntu-latest - 40839168075.2 29 Oct 2026 08:03AM UTC 165
82.75
GitHub Action Run
Source Files on build 40839168075
  • Tree
  • List 165
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40839168075
  • 94a121db on github
  • Prev Build on master (#40800266906)
  • Next Build on master (#40839188468)
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