• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

Azure / karpenter-provider-azure / 25576784049
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: yew/localdns-state-reconciler
DEFAULT BRANCH: main
Ran 08 May 2026 08:16PM UTC
Jobs 1
Files 176
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

08 May 2026 08:02PM UTC coverage: 94.398% (-0.03%) from 94.427%
25576784049

Pull #1676

github

yewmsft
fix: address PR review feedback on LocalDNS reconciler

- RBAC: grant get on apps/daemonsets and list on K8s/Cilium/Calico
  network policies so the resolver doesn't get Forbidden in default
  installs.
- localdns.go: treat IsForbidden as non-transient and fail-safe to
  Disabled immediately (no need to burn the retry budget on RBAC).
- localdns.go: invalid Mode now clears LocalDNSState instead of leaving
  a stale Enabled/Disabled value while marking Ready.
- localdns.go: skip the sticky-Enabled status write when (gen, kv) is
  unchanged to avoid churning the API server every reconcile.
- localdns.go: clarify the IsNotFound-on-CRD-list comment.
- tests: add coverage for cilium/calico CRD network policies, the
  Forbidden fail-safe path, and invalid-mode state clearing.
- tests (instancetype): replace lexicographic k8s version comparison
  with semver to match production resolver.
- tests (labels): drop the misleading "Preferred + 1.35 = Enabled" case
  since the reconciler threshold is 1.36 and would resolve Disabled.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Pull Request #1676: feat: resolve LocalDNS state at NodeClass reconcile time

205 of 242 new or added lines in 7 files covered. (84.71%)

2 existing lines in 1 file now uncovered.

74484 of 78904 relevant lines covered (94.4%)

0.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
35
84.72
pkg/controllers/nodeclass/status/localdns.go
2
5.24
-0.04% pkg/operator/operator.go

Coverage Regressions

Lines Coverage ∆ File
2
92.31
-7.69% pkg/fake/pricingapi.go
Jobs
ID Job ID Ran Files Coverage
1 25576784049.1 08 May 2026 08:16PM UTC 176
94.4
GitHub Action Run
Source Files on build 25576784049
  • Tree
  • List 176
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1676
  • PR Base - main (#25530674550)
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