Skip to content

Peel Azure.AI.Extensions.OpenAI off the NoWarn skip-list#59685

Merged
m-nash merged 2 commits into
Azure:mainfrom
m-nash:nowarn-ai-ext-openai
Jun 4, 2026
Merged

Peel Azure.AI.Extensions.OpenAI off the NoWarn skip-list#59685
m-nash merged 2 commits into
Azure:mainfrom
m-nash:nowarn-ai-ext-openai

Conversation

@m-nash
Copy link
Copy Markdown
Member

@m-nash m-nash commented Jun 4, 2026

Peels Azure.AI.Extensions.OpenAI off the eng/NoWarnSkipValidation.txt skip-list as part of the ongoing NoWarn-visibility migration.

What's in this PR

Peel-off (first commit):

  • Remove from eng/NoWarnSkipValidation.txt.
  • Drop the project-wide <NoWarn> block from src/Azure.AI.Extensions.OpenAI.csproj (was CS1591;OPENAI001;AZC0035;AAIP001).
  • Add eng/analyzerallowlist/Azure.AI.Extensions.OpenAI.txt covering OPENAI001 (this library is by design a wrapper of the preview OpenAI surface, so the experimental opt-in is acknowledged once at the assembly level).
  • Drop stale CS1591 and AAIP001 entries from the csproj (neither fires).
  • Add XML doc comments to 90 hand-written public members across 21 Custom/ files so CS1591 no longer needs a project-wide suppression.

Analyzer version bump (second commit):

Validation

dotnet build src/Azure.AI.Extensions.OpenAI.csprojBuild succeeded, 0 warnings, 0 errors across net8.0 / net10.0 / netstandard2.0.

Related

m-nash and others added 2 commits June 4, 2026 11:07
- Remove from eng/NoWarnSkipValidation.txt.
- Drop the project-wide <NoWarn> block from src/Azure.AI.Extensions.OpenAI.csproj
  (was CS1591, OPENAI001, AZC0035, AAIP001).
- Add eng/analyzerallowlist/Azure.AI.Extensions.OpenAI.txt covering OPENAI001
  (external experimental opt-in; the library is by design a wrapper of the
  preview OpenAI surface) and AZC0035 (the analyzer fires on ResponseResult
  and StreamingResponseUpdate, both declared in the external OpenAI SDK; the
  analyzer is missing an assembly check in ExtractOutputModelFromReturnType
  and a fix will be filed upstream — remove this entry once it flows in).
- Drop stale CS1591 and AAIP001 entries from the csproj (neither fires).
- Add XML doc comments to 90 hand-written public members across 21 Custom/
  files so CS1591 no longer needs a project-wide suppression.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…35 from Azure.AI.Extensions.OpenAI

The new analyzer package includes the AZC0035 external-types fix (Azure#59647). With that fix in place, AZC0035 no longer fires on ResponseResult / StreamingResponseUpdate (declared in the external OpenAI SDK), so the suppression can be removed from Azure.AI.Extensions.OpenAI's allow-list.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@m-nash m-nash merged commit 4f57c96 into Azure:main Jun 4, 2026
75 checks passed
Copilot stopped reviewing on behalf of m-nash due to an error June 4, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants