Skip to content

CHORE: Release Manager agent for release automation#545

Merged
gargsaumya merged 12 commits into
mainfrom
saumya/release-manager
May 27, 2026
Merged

CHORE: Release Manager agent for release automation#545
gargsaumya merged 12 commits into
mainfrom
saumya/release-manager

Conversation

@gargsaumya
Copy link
Copy Markdown
Contributor

@gargsaumya gargsaumya commented Apr 28, 2026

Work Item / Issue Reference

GitHub Issue: N/A
AB#44651


Summary

This pull request adds a comprehensive release manager agent specification for the mssql-python project. The new agent automates and documents the entire release process, including integration with GitHub and Azure DevOps, step-by-step instructions, and detailed guidance for handling Rust dependencies and release notes.

The most important changes are:

Release Process Automation and Guidance

  • Introduces .github/agents/release-manager.agent.md, which defines the Release Manager agent for mssql-python, detailing a strict, step-by-step workflow for releases, including both automated and manual steps, and specifying required tools and user prompts.
  • Clearly distinguishes between automated and manual actions, with explicit gates and user confirmations at key stages (e.g., ADO-GH sync, pipeline triggers, artifact verification).

Rust Dependency Handling

  • Documents an automated process for detecting and summarizing customer-facing Rust changes from mssql_py_core version bumps, ensuring these are included in release notes with proper attribution and PR links.

Release Notes and Checklist

  • Provides a standardized release notes template, including sections for enhancements, bug fixes, and contributors, with rules for content inclusion and attribution.
  • Adds a detailed release checklist for tracking progress and ensuring all required steps are completed in order.

Rollback and Recovery Procedures

  • Outlines clear

Copilot AI review requested due to automatic review settings April 28, 2026 08:35
@gargsaumya gargsaumya changed the title FEAT: Add Release Manager agent for release automation CHORE: Add Release Manager agent for release automation Apr 28, 2026
@github-actions github-actions Bot added the pr-size: medium Moderate update size label Apr 28, 2026
Copy link
Copy Markdown
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

Adds a new GitHub Copilot agent definition to standardize and automate the end-to-end mssql-python release workflow spanning GitHub and Azure DevOps.

Changes:

  • Introduces a “Release Manager” agent with a prescribed 9-step release sequence and checklist.
  • Documents automated Rust (mssql_py_core) change resolution for release notes, with a GitHub Models fallback.
  • Provides guidance for ADO cherry-pick/PR flow, pipeline execution, artifact verification, rollback, and smoke testing.

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

Comment thread .github/agents/release-manager.agent.md Outdated
Comment thread .github/agents/release-manager.agent.md
Comment thread .github/agents/release-manager.agent.md
Comment thread .github/agents/release-manager.agent.md Outdated
Comment thread .github/agents/release-manager.agent.md
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

80%


📈 Total Lines Covered: 6665 out of 8273
📁 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.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 59.7%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 76.1%
mssql_python.__init__.py: 77.3%
mssql_python.pybind.connection.connection.cpp: 77.5%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.connection.py: 85.4%
mssql_python.logging.py: 85.5%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@gargsaumya gargsaumya changed the title CHORE: Add Release Manager agent for release automation CHORE: Release Manager agent for release automation Apr 28, 2026
@gargsaumya gargsaumya force-pushed the saumya/release-manager branch from ad27343 to 48d72d4 Compare May 15, 2026 07:02
gargsaumya and others added 10 commits May 15, 2026 12:40
### Work Item / Issue Reference

>
[AB#45090](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/45090)

-------------------------------------------------------------------
### Summary

PR #526 dropped overall coverage from 79% to 25% by pulling simdutf in
via FetchContent. clang's coverage instrumentation walks
`mssql_python/pybind/build/_deps/simdutf-src/` and counts 70 vendored
files (haswell, westmere, arm64, fallback SIMD variants) where only one
dispatches per CPU. the rest sit at 0% forever and tank the denominator.

fix: extend the `llvm-cov ignore-filename-regex` in
`generate_codecov.sh` with `build/_deps/`, plus `lcov --remove
'*/build/_deps/*'` after merge as defense-in-depth for future deps.

verified in an ubuntu:22.04 container matching the CI runner:
- before: 79 cpp sources in report, 70 of them simdutf
- after: 9 cpp sources, 0 simdutf, all owned by mssql-python

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Jahnvi Thakkar <61936179+jahnvi480@users.noreply.github.com>
Co-authored-by: gargsaumya <saumyagarg.100@gmail.com>
@gargsaumya gargsaumya merged commit f65a578 into main May 27, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: medium Moderate update size

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants