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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/1955
DEFAULT BRANCH: main
Ran 17 Aug 2026 11:52PM 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

17 Aug 2026 11:49PM UTC coverage: 43.66% (+0.03%) from 43.626%
32082225647

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%)

6669 of 15275 relevant lines covered (43.66%)

0.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32082225647.1 17 Aug 2026 11:52PM UTC 247
43.66
GitHub Action Run
Source Files on build 32082225647
  • 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 #32082225647
  • 60691e99 on github
  • Prev Build on main (#32064653691)
  • 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