Repository navigation
CI/CD - Fix CUDA pipeline Docker access - #897
Merged
Merged
Conversation
Opt the CUDA job into agent-managed Docker socket mapping so its container user receives the required access on newer Azure Pipelines agents. Fail dependency installation immediately instead of allowing later commands to hide a setup failure. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the CUDA pipeline’s Docker socket access and fail-fast setup changes.
No open issues 🎉
What changed in this PR
Updates the CUDA unit-test pipeline to use agent-managed Docker socket access and stop dependency installation when a setup command fails.
Changes:
- Enables Docker socket mapping through
mapDockerSocket: true. - Removes the manual socket bind while retaining the read-only Docker CLI bind.
- Adds
set -eto propagate setup failures immediately.
| File | Description |
|---|---|
.azure-pipelines/cuda-unit-test.yml |
Enables agent-managed Docker access and fail-fast dependency setup. |
Review effort: Balanced
Keep clang-format-14 available after ubuntu-latest moved to Ubuntu 26.04, without changing formatting rules. Co-authored-by: Copilot <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #897 +/- ##
=======================================
Coverage 86.36% 86.36%
=======================================
Files 107 107
Lines 8258 8258
=======================================
Hits 7132 7132
Misses 1126 1126
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
WenqingLan1
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Newer Azure Pipelines agents default Linux Docker socket mapping to false and
only configure the container user's Docker group when mapping is enabled
(upstream change).
Manually binding the socket does not opt into that authorization. A failed
Docker setup command could also be hidden by later successful installation
commands.
Validation
and fail-fast changes differ.
immediate Docker/pip/postinstall failure propagation plus the successful path.
git diff --checkpassed.passed installation, code lint, native benchmark compilation, unit tests,
and coverage for the repair commit.