• 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

k8snetworkplumbingwg / multus-cni / 20986734167
51%
master: 50%

Build:
Build:
LAST BUILD BRANCH: add_status_delegation
DEFAULT BRANCH: master
Ran 14 Jan 2026 08:54AM UTC
Jobs 1
Files 27
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

14 Jan 2026 07:59AM UTC coverage: 50.822% (+1.1%) from 49.721%
20986734167

Pull #1455

github

SchSeba
feat: Migrate DRA integration from v1alpha2 to v1 API

Migrate Dynamic Resource Allocation (DRA) integration from the alpha
v1alpha2 API to the stable v1 API introduced in Kubernetes 1.34.

Major changes:
- Update RBAC permissions to access resource.k8s.io API resources
  (resourceclaims, resourceslices) instead of using kubelet API
- Replace kubelet-based DRA resource discovery with direct API queries
  using new draclient package
- Update documentation from ResourceClass to DeviceClass terminology
- Change resourceName annotation format to <claim-name>/<request-name>
- Update examples from NVIDIA-specific to generic SR-IOV usage
- Add comprehensive test coverage for DRA integration
- Remove CDI-based device handling in favor of k8s.cni.cncf.io/deviceID
  attributes

Technical details:
- Add draclient.GetPodResourceMap() call in k8sclient
- Remove getDRAResources() from kubeletclient (now queries API directly)
- Update to use ResourceClaimTemplate instead of ResourceClaim
- Fix protobuf field naming (CDIDevices -> CdiDevices)
- Add 6 new test cases for DRA scenarios in k8sclient_test.go

This migration enables Multus to work with the stable DRA API and
removes dependency on kubelet's PodResources API for DRA resources.

Signed-off-by: Sebastian Sch <sebassch@gmail.com>
Pull Request #1455: DRA implementation

101 of 109 new or added lines in 3 files covered. (92.66%)

1 existing line in 1 file now uncovered.

2504 of 4927 relevant lines covered (50.82%)

6.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
97.09
pkg/draclient/draclient.go
5
64.47
2.17% pkg/k8sclient/k8sclient.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
64.47
2.17% pkg/k8sclient/k8sclient.go
Jobs
ID Job ID Ran Files Coverage
1 Go- - 20986734167.1 14 Jan 2026 08:54AM UTC 27
50.82
GitHub Action Run
Source Files on build 20986734167
  • Tree
  • List 27
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1455
  • PR Base - master (#20482482034)
  • Delete
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