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

SchSeba / sriov-network-operator-1 / 30583268513
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: conditions/nodestate
DEFAULT BRANCH: master
Ran 30 Jul 2026 09:37PM UTC
Jobs 1
Files 115
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

30 Jul 2026 01:17PM UTC coverage: 64.494% (+0.8%) from 63.717%
30583268513

push

github

SchSeba
feat(conditions): implement NodeState conditions in daemon and drain controllers

Wire the Draining condition into the drain controller reconcile loop so it
reflects the actual drain state at each step: idle, pending, draining, failed,
or completed. The drain controller now uses a StatusPatcher to apply conditions
via Server-Side Apply, preserving ownership boundaries between the drain
controller and the config daemon.

Update the config daemon to emit Ready and Progressing conditions through its
status update path, using the events.k8s.io recorder for state-change events.
Refactor the daemon's EventRecorder constructor to accept the manager's recorder
directly instead of creating its own broadcaster.

Add the StatusPatcher interface and its SSA-based implementation for applying
conditions with proper field ownership. Include comprehensive unit tests for
condition transitions, SSA ownership, and drain controller integration.

Update conformance tests to use the shared cluster.SriovStable() helper instead
of a duplicated local implementation, and update test fixtures to wait for
condition-based stability.

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

159 of 235 new or added lines in 7 files covered. (67.66%)

933 existing lines in 18 files now uncovered.

10239 of 15876 relevant lines covered (64.49%)

0.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
59.09
-2.97% controllers/drain_controller_helper.go
13
8.82
-0.31% cmd/sriov-network-config-daemon/start.go
12
87.65
54.64% pkg/status/patcher.go
6
77.14
-0.55% controllers/drain_controller.go
5
79.83
0.0% pkg/daemon/status.go
4
58.49
1.4% pkg/daemon/daemon.go

Coverage Regressions

Lines Coverage ∆ File
259
66.0
1.2% pkg/host/internal/sriov/sriov.go
133
40.85
1.02% api/v1/zz_generated.deepcopy.go
98
78.74
5.37% controllers/sriovoperatorconfig_controller.go
67
0.0
0.0% cmd/webhook/start.go
65
69.7
-0.38% controllers/helper.go
60
66.85
1.42% pkg/webhook/validate.go
54
74.91
-4.74% controllers/generic_network_controller.go
54
58.49
1.4% pkg/daemon/daemon.go
53
82.4
-1.13% api/v1/helper.go
47
59.09
-2.97% controllers/drain_controller_helper.go
15
79.83
0.0% pkg/daemon/status.go
10
85.92
2.58% pkg/orchestrator/mock/mock_orchestrator.go
5
77.14
-0.55% controllers/drain_controller.go
4
91.15
-0.08% pkg/drain/drainer.go
3
78.57
-7.79% pkg/daemon/event_recorder.go
3
87.65
54.64% pkg/status/patcher.go
2
0.0
0.0% api/v1/groupversion_info.go
1
86.36
3.03% pkg/orchestrator/kubernetes/kubernetes.go
Jobs
ID Job ID Ran Files Coverage
1 30583268513.1 30 Jul 2026 09:37PM UTC 115
64.49
GitHub Action Run
Source Files on build 30583268513
  • Tree
  • List 115
  • Changed 33
  • Source Changed 31
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30583268513
  • fef66f09 on github
  • Prev Build on conditions/nodestate (#23381569304)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc