Skip to content

FIX: Update OneBranch pipelines for new 1ES images (Windows/Linux)#431

Merged
gargsaumya merged 1 commit intomainfrom
saumya/onebranch-fixes
Feb 13, 2026
Merged

FIX: Update OneBranch pipelines for new 1ES images (Windows/Linux)#431
gargsaumya merged 1 commit intomainfrom
saumya/onebranch-fixes

Conversation

@gargsaumya
Copy link
Contributor

@gargsaumya gargsaumya commented Feb 13, 2026

Work Item / Issue Reference

AB#42398

GitHub Issue: #<ISSUE_NUMBER>


Summary

This pull request updates the build pipeline configurations to use new agent pools and images for Windows and Linux builds, and improves Docker handling for Linux stages. The changes modernize the build environments and streamline Docker setup, while also updating macOS pool configuration for compatibility.

Build environment updates:

  • Switched Windows and Linux agent pools from Django-1ES-pool to Python-1ES-pool, and updated image demands to PYTHON-1ES-MMS2022 (Windows) and PYTHON-1ES-UB2404 (Linux) across all pipeline YAML files. [1] [2] [3] [4] [5]
  • Updated macOS pool configuration in build-macos-single-stage.yml to use image: macOS-latest, add os: macOS, and clarify pool type requirements for OneBranch and Azure Pipelines compatibility.

Docker setup improvements (Linux builds):

  • Removed explicit Docker installation task, since Docker is now pre-installed via the linux-1es-pt-prerequisites-v2 artifact.
  • Enhanced Docker daemon startup logic: now checks if Docker is running before starting it, avoiding unnecessary restarts and improving reliability.

Copilot AI review requested due to automatic review settings February 13, 2026 04:12
@github-actions github-actions bot added the pr-size: small Minimal code update label Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request modernizes the OneBranch pipeline infrastructure by updating agent pools and images for Windows, Linux, and macOS builds. The changes transition from the older Django-1ES-pool to the new Python-1ES-pool with updated image demands, and improve Docker handling for Linux builds.

Changes:

  • Updated Windows and Linux agent pools from Django-1ES-pool to Python-1ES-pool with new image demands (PYTHON-1ES-MMS2022 for Windows, PYTHON-1ES-UB2404 for Linux)
  • Modernized macOS pool configuration to use image: macOS-latest with explicit os: macOS declaration for 1ES Platform Team compatibility
  • Enhanced Docker daemon setup in Linux builds to check if Docker is running before attempting to start it, removing explicit Docker installation task

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
OneBranchPipelines/stages/build-windows-single-stage.yml Updated pool name to Python-1ES-pool and image to PYTHON-1ES-MMS2022
OneBranchPipelines/stages/build-linux-single-stage.yml Updated pool name to Python-1ES-pool, image to PYTHON-1ES-UB2404, improved Docker daemon startup logic
OneBranchPipelines/stages/build-macos-single-stage.yml Updated pool configuration to use macOS-latest image with os: macOS declaration
OneBranchPipelines/official-release-pipeline.yml Updated pool name to Python-1ES-pool and image to PYTHON-1ES-MMS2022
OneBranchPipelines/dummy-release-pipeline.yml Updated pool name to Python-1ES-pool and image to PYTHON-1ES-MMS2022
OneBranchPipelines/build-release-package-pipeline.yml Updated documentation comments to reflect new pool names and images

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Feb 13, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

76%


📈 Total Lines Covered: 5472 out of 7137
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.hpp: 58.8%
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.row.py: 66.2%
mssql_python.pybind.ddbc_bindings.cpp: 69.3%
mssql_python.pybind.ddbc_bindings.h: 69.7%
mssql_python.pybind.connection.connection.cpp: 75.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 84.1%
mssql_python.cursor.py: 84.7%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@gargsaumya gargsaumya force-pushed the saumya/onebranch-fixes branch from 9d56ca6 to f36bfa6 Compare February 13, 2026 04:56
@gargsaumya gargsaumya force-pushed the saumya/onebranch-fixes branch from f36bfa6 to e10217f Compare February 13, 2026 04:58
@gargsaumya gargsaumya merged commit 44f755b into main Feb 13, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: small Minimal code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants