Skip to content

Conversation

@TaoChenOSU
Copy link
Contributor

@TaoChenOSU TaoChenOSU commented Feb 10, 2026

Motivation and Context

Part of #2474

Description

Adding the following packages to the gate:

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@TaoChenOSU TaoChenOSU self-assigned this Feb 10, 2026
Copilot AI review requested due to automatic review settings February 10, 2026 23:13
@github-actions github-actions bot changed the title Add more packages to unit test coverage gate Python: Add more packages to unit test coverage gate Feb 10, 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

Updates the Python unit test coverage gate configuration to enforce the 85% threshold for additional GA packages, aligning with the repo’s coverage-tracking issues.

Changes:

  • Add agent_framework_azure_ai_search to the consolidated poe all-tests-cov coverage sources.
  • Enforce coverage threshold for packages.azure-ai-search.agent_framework_azure_ai_search, packages.core.agent_framework, and packages.core.agent_framework._workflows in the coverage gate script.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
python/pyproject.toml Adds Azure AI Search package to the all-tests-cov pytest-cov source list so it appears in the Cobertura report.
.github/workflows/python-check-coverage.py Expands the enforced module set so these packages now fail the build if below the configured coverage threshold.

@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Feb 10, 2026

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
packages/core/agent_framework/_workflows
   _agent.py3466581%59, 67–73, 107–108, 350–351, 357–358, 364, 366, 371, 454–455, 464, 471, 497, 530–532, 534, 536, 538, 543, 548, 595, 625, 642, 681–684, 690, 696, 700–701, 704–710, 714–715, 721, 782, 789, 795–796, 807, 839, 846, 867, 876, 880, 882–884, 891
TOTAL21367342883% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
4012 225 💤 0 ❌ 0 🔥 1m 10s ⏱️

@TaoChenOSU TaoChenOSU enabled auto-merge February 11, 2026 00:42
@TaoChenOSU TaoChenOSU disabled auto-merge February 11, 2026 18:25
@TaoChenOSU TaoChenOSU enabled auto-merge February 11, 2026 19:34
@TaoChenOSU TaoChenOSU added this pull request to the merge queue Feb 11, 2026
Merged via the queue into microsoft:main with commit 654f099 Feb 11, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

4 participants