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

kubeovn / kube-ovn / 26336548260
25%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 03:29PM UTC
Jobs 1
Files 212
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

23 May 2026 03:27PM UTC coverage: 25.295% (-0.002%) from 25.297%
26336548260

push

github

web-flow
fix(controller): avoid panic in external VPC sync when no logical switch is found (#6777)

Three issues addressed in syncExternalVpc / getNonKubeovnRouterStatus:

- Fix index out of range panic at external_vpc.go when ListLogicalSwitch
  returns an empty slice without error: the previous guard only rejected
  err != nil or len > 1, so len == 0 fell through to switches[0] (#6774).
- Move the vpc.Status.Subnets reset to before the append loop so the
  subnets collected from the logical router are actually persisted on
  the freshly created external VPC instead of being overwritten with [].
- Split combined error/length guards in the peerPorts block, fix %s
  formatting of a util.Port struct, and inline the temporary
  aLogicalSwitch variable.

Closes #6774

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

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

2 existing lines in 1 file now uncovered.

14538 of 57473 relevant lines covered (25.3%)

0.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
0.0
0.0% pkg/controller/external_vpc.go

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% pkg/controller/external_vpc.go
Jobs
ID Job ID Ran Files Coverage
1 26336548260.1 23 May 2026 03:29PM UTC 212
25.3
GitHub Action Run
Source Files on build 26336548260
  • Tree
  • List 212
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9aa6246b on github
  • Prev Build on master (#26335972836)
  • Next Build on master (#26435719714)
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