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

kubeovn / kube-ovn / 23404772237
27%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2026 02:10PM 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 02:07PM UTC coverage: 23.625% (+0.02%) from 23.61%
23404772237

push

github

web-flow
fix(controller): handle npsLister.List error in checkAndUpdateNodePortGroup (#6498)

* fix(controller): handle npsLister.List error in checkAndUpdateNodePortGroup

Previously the error from npsLister.List was silently discarded. If the
lister ever returned an error, networkPolicyExists would be false and
the else branch would delete all node ACLs, removing network policy
protection. Check the error and return early instead.

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 test for npsLister error in checkAndUpdateNodePortGroup

Add a test that verifies checkAndUpdateNodePortGroup returns an error
when npsLister.List fails, instead of proceeding to delete node ACLs.

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>

5 of 5 new or added lines in 1 file covered. (100.0%)

13032 of 55161 relevant lines covered (23.63%)

0.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23404772237.1 22 Mar 2026 02:10PM UTC 205
23.63
GitHub Action Run
Source Files on build 23404772237
  • Tree
  • List 205
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2eac8391 on github
  • Prev Build on master (#23404694469)
  • Next Build on master (#23405076297)
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