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

NVIDIA / nvidia-container-toolkit / 32078433140
44%
main: 44%

Build:
Build:
LAST BUILD BRANCH: pull-request/2010
DEFAULT BRANCH: main
Ran 17 Aug 2026 11:01PM UTC
Jobs 1
Files 247
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

04 Aug 2026 11:43PM UTC coverage: 43.649% (+0.03%) from 43.615%
32078433140

push

github

vyncint
fix: match the root at a path component boundary when transforming paths

The root transformer used a plain string prefix comparison to determine
whether a path is contained in the (from) root. A path that shares a
textual prefix with the root but lies outside it was therefore treated as
being under the root and rewritten, corrupting the path.

For a root of /run/nvidia/driver and a target root of /host:

	/run/nvidia/driver-backup/lib.so -> /host/-backup/lib.so
	/run/nvidia/driverfoo            -> /host/foo

Both paths are outside the root and must be left unchanged.

The prefix match is now required to end at a path component boundary. A
path equal to the root, and a root with a trailing separator (including a
root of /), are handled as before.

This applies to both the host and container root transformers since they
share transformPath, and is reachable from
'nvidia-ctk cdi transform root --from/--to' as well as from the driver
root transform applied during CDI spec generation.

Signed-off-by: Vyncint Ng <115854244+vyncint@users.noreply.github.com>

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

6666 of 15272 relevant lines covered (43.65%)

0.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32078433140.1 17 Aug 2026 11:01PM UTC 247
43.65
GitHub Action Run
Source Files on build 32078433140
  • Tree
  • List 247
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32078433140
  • 9829c379 on github
  • Prev Build on main (#30290468748)
  • Next Build on pull-request/1955 (#32082225647)
  • 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