Skip to content

Promote FakeLogCollector.GetLogsAsync(CancellationToken) from experimental to stable#7332

Merged
Demo30 merged 6 commits intodotnet:mainfrom
Demo30:twiesner/fakelogcollector-waitforlogs-remove-experimental
Feb 24, 2026
Merged

Promote FakeLogCollector.GetLogsAsync(CancellationToken) from experimental to stable#7332
Demo30 merged 6 commits intodotnet:mainfrom
Demo30:twiesner/fakelogcollector-waitforlogs-remove-experimental

Conversation

@Demo30
Copy link
Contributor

@Demo30 Demo30 commented Feb 23, 2026

Microsoft Reviewers: Open in CodeFlow

@Demo30 Demo30 marked this pull request as ready for review February 24, 2026 08:54
@Demo30 Demo30 requested a review from a team as a code owner February 24, 2026 08:54
Copilot AI review requested due to automatic review settings February 24, 2026 08:54
@Demo30 Demo30 enabled auto-merge (squash) February 24, 2026 08:56
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

This PR promotes the FakeLogCollector.GetLogsAsync(CancellationToken) method from experimental to stable status in the Microsoft.Extensions.Diagnostics.Testing library. The change allows developers to use this async enumeration API in production code without experimental warnings.

Changes:

  • Updated API baseline JSON file to mark GetLogsAsync as "Stable" instead of "Experimental"
  • Removed the [Experimental] attribute from the GetLogsAsync method
  • Cleaned up unused using statements (System.Diagnostics.CodeAnalysis and Microsoft.Shared.DiagnosticIds)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Libraries/Microsoft.Extensions.Diagnostics.Testing/Microsoft.Extensions.Diagnostics.Testing.json Updated the API stage from "Experimental" to "Stable" for GetLogsAsync method in the API baseline
src/Libraries/Microsoft.Extensions.Diagnostics.Testing/Logging/FakeLogCollector.LogEnumeration.cs Removed the [Experimental] attribute and unused using statements from the GetLogsAsync method implementation

@Demo30 Demo30 merged commit a4a111c into dotnet:main Feb 24, 2026
10 checks passed
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.

3 participants