From d28bb50aaaea339221394c3c555d176cba7a224a Mon Sep 17 00:00:00 2001 From: Guoxin Sui Date: Tue, 10 Nov 2026 16:24:46 -0700 Subject: [PATCH 1/2] CI/CD - Fix CUDA pipeline Docker access 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 <223556219+Copilot@users.noreply.github.com> --- .azure-pipelines/cuda-unit-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/cuda-unit-test.yml b/.azure-pipelines/cuda-unit-test.yml index 155331499..be06491e8 100644 --- a/.azure-pipelines/cuda-unit-test.yml +++ b/.azure-pipelines/cuda-unit-test.yml @@ -12,13 +12,15 @@ pool: container: image: nvcr.io/nvidia/pytorch:24.03-py3 - options: '--name cuda-ci -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker:ro' + mapDockerSocket: true + options: '--name cuda-ci -v /usr/bin/docker:/usr/bin/docker:ro' steps: - script: | echo "##vso[task.prependpath]$HOME/.local/bin" displayName: Export path - script: | + set -e docker exec -t -u root -e DEBIAN_FRONTEND=noninteractive cuda-ci bash -c \ "apt-get update -y -q && \ yes '' | apt-get install -y -q sudo && \ From 56df30169b21d713956bc57acd1580fbd6a56734 Mon Sep 17 00:00:00 2001 From: Guoxin Sui Date: Thu, 12 Nov 2026 11:08:59 -0700 Subject: [PATCH 2/2] CI/CD - Pin CPP lint to Ubuntu 24.04 Keep clang-format-14 available after ubuntu-latest moved to Ubuntu 26.04, without changing formatting rules. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0d3d26e81..7b371a1ee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,7 @@ jobs: run: misspell -error . cpp: name: CPP code lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install clang-format-14 run: |