Flight Log / Azure/azure-sdk-tools #10951

Fix ModelFactory analyzer to exclude client types and easily instantiable types — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in Azure/azure-sdk-tools on Jun 20, 2025; merged after rework in 21.5 h: +402 −137, 3 files, 18 reviews.

All agent flights in Azure/azure-sdk-tools · GitHub Copilot flights

Merged after reworkGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+402 −137
Files
3
Commits
9
Reviews
18 (2 ✕)
To merge
21.5 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot fixed the ModelFactory static analysis rule in Azure/azure-sdk-tools so it stops flagging client types and easily instantiable types such as BlobContainerClient. The change touched three files with 402 additions and 137 deletions across nine commits. Review included 18 reviews, two change requests, and 14 review comments. Merged after rework, 21.45 hours after opening.

“/check-enforcer override”

— from the review (source)

From the pull request description

The ModelFactory static analysis rule (AZC0035) was incorrectly flagging types that don't need model factories because they can be easily instantiated or are client types rather than models. ## Problem The analyzer was flagging types like: - `BlobContainerClient` - This is a client type, not a mode…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —reviewed
  5. —committedcopilot-swe-agent[bot]
  6. —reviewed
  7. —committedcopilot-swe-agent[bot]
  8. —reviewed
  9. —reviewed
  10. —reviewed
  11. —committedcopilot-swe-agent[bot]
  12. Jun 20, 2025changes requestedKrzysztofCwalina↗
  13. Jun 20, 2025changes requestedKrzysztofCwalina↗

Cite this flight: AgentRiders Flight Log, Azure/azure-sdk-tools#10951, record updated Nov 3, 2026, https://agentriders.com/logs/Azure/azure-sdk-tools/10951/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.