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

NVIDIA / nvidia-container-toolkit / 38820334663
45%
main: 45%

Build:
Build:
LAST BUILD BRANCH: pull-request/2122
DEFAULT BRANCH: main
Ran 15 Oct 2026 10:56PM UTC
Jobs 1
Files 248
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

10 Oct 2026 09:37AM UTC coverage: 44.66% (+0.02%) from 44.641%
38820334663

push

github

v0ropaev
Do not read NVIDIA_IMEX_CHANNELS=none as a request for every channel

devicesFromEnvvars routes the value through NewVisibleDevices, and the none
sentinel reports itself as a single empty ID, so imexChannelsFromEnvVar hands
back []string{""} rather than nothing. imexDevices.DeviceRequests turns that
into the request

  mode=imex,id=

and cdiModeIdentfiersFromDevices drops an empty id while still recording the
mode, so GetSpec is called for mode imex with no IDs at all. An empty ID list
is what GetSpec reads as "all", so getAllChannelIDs discovers every
/dev/nvidia-caps-imex-channels/channel* under the dev root and fromCDISpec
applies the edits of each one. A container that asked for no IMEX channels
gets all of them.

The visible-devices path guards against the same artefact already:
cdiDeviceRequestor.DeviceRequests turns the empty ID back into "none" before
building its request, which is what #1562 fixed for issue #1555. There is no
"none" IMEX channel to fall back to, so the request list should be empty.

Treat the empty ID the way the legacy "all" default beside it is already
treated. The legacy hook path does not change: there the single empty ID
joins to "" and no --imex-channel flag is passed.

Signed-off-by: Dmitry Voropaev <dy.voropaev@gmail.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

6055 of 13558 relevant lines covered (44.66%)

0.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38820334663.1 15 Oct 2026 10:56PM UTC 248
44.66
GitHub Action Run
Source Files on build 38820334663
  • Tree
  • List 248
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38820334663
  • 5a44affb on github
  • Prev Build on main (#36937879297)
  • 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