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

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

Build:
Build:
LAST BUILD BRANCH: conditions/nodestate
DEFAULT BRANCH: master
Ran 06 Aug 2026 11:02AM 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

06 Aug 2026 10:48AM UTC coverage: 64.46% (-0.09%) from 64.545%
31094751786

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>

152 of 234 new or added lines in 7 files covered. (64.96%)

309 existing lines in 8 files now uncovered.

10242 of 15889 relevant lines covered (64.46%)

0.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
59.07
-1.28% controllers/drain_controller_helper.go
14
86.47
0.0% pkg/status/patcher.go
13
8.82
0.0% cmd/sriov-network-config-daemon/start.go
9
75.63
-4.2% pkg/daemon/status.go
6
77.14
1.02% controllers/drain_controller.go
4
58.01
-0.48% pkg/daemon/daemon.go

Coverage Regressions

Lines Coverage ∆ File
170
58.01
-0.48% pkg/daemon/daemon.go
54
59.07
-1.28% controllers/drain_controller_helper.go
31
8.82
0.0% cmd/sriov-network-config-daemon/start.go
24
77.14
1.02% controllers/drain_controller.go
16
75.63
-4.2% pkg/daemon/status.go
9
86.47
0.0% pkg/status/patcher.go
4
73.54
-1.03% controllers/generic_network_controller.go
1
69.7
-0.38% controllers/helper.go
Jobs
ID Job ID Ran Files Coverage
1 31094751786.1 06 Aug 2026 11:02AM UTC 115
64.46
GitHub Action Run
Source Files on build 31094751786
  • Tree
  • List 115
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31094751786
  • cf23dbc1 on github
  • Prev Build on conditions/nodestate (#31009210817)
  • 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