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

kubeovn / kube-ovn / 23396400685
27%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2026 05:23AM UTC
Jobs 1
Files 205
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

22 Mar 2026 05:21AM UTC coverage: 23.582% (+0.02%) from 23.56%
23396400685

push

github

web-flow
fix(controller): use consistent dual-stack check in subnet finalizer removal (#6492)

* fix(controller): use consistent dual-stack check in subnet finalizer removal

handleSubnetFinalizer only checked V4UsingIPs for dual-stack subnets
because CheckProtocol returns "Dual" (not "IPv6"), causing V6UsingIPs
to be ignored. This could lead to premature finalizer removal and
subnet deletion while IPv6 IPs were still in use.

Replace the inconsistent inline logic with a call to
readyToRemoveFinalizer, which correctly sums V4+V6 using IPs and
properly handles U2O interconnection IPs for both protocols.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* test(controller): add unit tests for readyToRemoveFinalizer

Cover dual-stack, U2O interconnection, and edge cases to prevent
regressions in subnet finalizer removal logic.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 1 new or added line in 1 file covered. (0.0%)

197 existing lines in 1 file now uncovered.

13019 of 55207 relevant lines covered (23.58%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
9.29
0.5% pkg/controller/subnet.go

Coverage Regressions

Lines Coverage ∆ File
197
9.29
0.5% pkg/controller/subnet.go
Jobs
ID Job ID Ran Files Coverage
1 23396400685.1 22 Mar 2026 05:23AM UTC 205
23.58
GitHub Action Run
Source Files on build 23396400685
  • Tree
  • List 205
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd8ea414 on github
  • Prev Build on master (#23394682787)
  • Next Build on master (#23396683965)
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