Skip to content

.NET: Fixed CA1873 warning#4634

Merged
dmytrostruk merged 1 commit into
microsoft:mainfrom
dmytrostruk:dotnet-warnings
Mar 11, 2026
Merged

.NET: Fixed CA1873 warning#4634
dmytrostruk merged 1 commit into
microsoft:mainfrom
dmytrostruk:dotnet-warnings

Conversation

@dmytrostruk

Copy link
Copy Markdown
Member

No description provided.

@dmytrostruk dmytrostruk self-assigned this Mar 11, 2026
Copilot AI review requested due to automatic review settings March 11, 2026 22:22
@markwallace-microsoft markwallace-microsoft added the .NET Usage: [Issues, PRs], Target: .Net label Mar 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit debug-level guard around the “summarization starting” log call in the .NET compaction strategy, reducing overhead when debug logging is disabled.

Changes:

  • Wrap LogSummarizationStarting(...) with logger.IsEnabled(LogLevel.Debug).

You can also share your feedback on Copilot code review. Take the survey.

@dmytrostruk dmytrostruk merged commit e5d6e8c into microsoft:main Mar 11, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Usage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants