|
Ran
|
Jobs
1
|
Files
202
|
Run time
1min
|
Badge
README BADGES
|
push
github
fix(controller): avoid nil queue panic in DNS name resolver handlers (#6845) When the controller starts with --enable-dns-name-resolver=true but --enable-anp=false, updateAnpQueue and updateCnpQueue are never constructed. Any DNSNameResolver CR carrying the "anp" label (e.g. left over from a period when ANP was enabled) then drives handleAddOrUpdateDNSNameResolver/handleDeleteDNSNameResolver into calling Add on a nil workqueue, which panics the whole controller process and forms a crash loop on every restart. Skip the handlers when ANP support is disabled and warn at startup about the ineffective configuration. Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> (cherry picked from commit 4d9089020)
10 of 13 new or added lines in 2 files covered. (76.92%)
2 existing lines in 1 file now uncovered.13339 of 54907 relevant lines covered (24.29%)
0.28 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
1.14 |
-0.0% | pkg/controller/controller.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
75.13 |
-0.52% | pkg/ovs/ovn-nb-logical_router_route.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 27260652328.1 | 202 |
24.29 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|