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

kubeovn / kube-ovn / 23400945367
27%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2026 10:20AM 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 10:18AM UTC coverage: 23.61% (+0.02%) from 23.588%
23400945367

push

github

web-flow
refactor(controller): remove legacy svcMatchNetworkPolicies code (#6494)

* refactor(controller): remove legacy svcMatchNetworkPolicies code

All NetworkPolicy ACLs use apply-after-lb, which means ACL matching
occurs after LB/DNAT processing and sees real pod IPs rather than
Service ClusterIPs. Therefore, Service add/delete events do not affect
NP ACL content, making the svcMatchNetworkPolicies calls unnecessary.

Remove the following legacy code:
- svcMatchNetworkPolicies function from network_policy.go
- NP re-queue logic from enqueueAddService and enqueueDeleteService
- Dead "service" address set cleanup in handleDeleteNp (never created)

Also fix a minor log message: "enqueue add endpoint" -> "enqueue add service"

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>

* fix(controller): differentiate duplicate log messages in enqueueAddService

Address review feedback: the two log lines in enqueueAddService used the
same message but enqueue different queues. Change the LB service log to
"enqueue add lb service" to distinguish from the endpoint slice enqueue.

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 2 new or added lines in 1 file covered. (0.0%)

13023 of 55158 relevant lines covered (23.61%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
0.0
0.0% pkg/controller/service.go
Jobs
ID Job ID Ran Files Coverage
1 23400945367.1 22 Mar 2026 10:20AM UTC 205
23.61
GitHub Action Run
Source Files on build 23400945367
  • Tree
  • List 205
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9e707d7d on github
  • Prev Build on master (#23396683965)
  • Next Build on master (#23402519850)
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