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.
- 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.
View the pull request 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
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jun 20, 2025changes requestedKrzysztofCwalina↗
- Jun 20, 2025changes requestedKrzysztofCwalina↗
Read next
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.