Skip to content

Reduce logging verbosity in GrpcSidecarFixture for organized test output#581

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/investigate-test-failure
Closed

Reduce logging verbosity in GrpcSidecarFixture for organized test output#581
Copilot wants to merge 2 commits intomainfrom
copilot/investigate-test-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 19, 2025

CI test logs in Grpc.IntegrationTests were unreadable due to verbose ASP.NET Core/gRPC infrastructure logging drowning out actual test output. The original test failure from PR #551 was already fixed by PR #579.

Changes

  • Configure GrpcSidecarFixture logging to filter out noisy infrastructure logs:
    • Default minimum level: Warning
    • Microsoft.DurableTask.Sidecar: Information (orchestration events)
    • Microsoft.Hosting.Lifetime: Information (app lifecycle)

Before/After

Before: Every gRPC request logged 4+ lines of routing/hosting diagnostics

After: Only relevant sidecar events (instance creation, orchestration completion, errors)

.ConfigureLogging(logging =>
{
    logging.SetMinimumLevel(LogLevel.Warning);
    logging.AddFilter("Microsoft.DurableTask.Sidecar", LogLevel.Information);
    logging.AddFilter("Microsoft.Hosting.Lifetime", LogLevel.Information);
})
Original prompt

investigate test failure in https://github.com/microsoft/durabletask-dotnet/actions/runs/20376967944/job/58557949619?pr=551 and fix, also the test logs are very disordered and hard to navigate, can you make it organized and easy to navigate


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ganized

Co-authored-by: YunchuWang <12449837+YunchuWang@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate and fix test failure in CI pipeline Reduce logging verbosity in GrpcSidecarFixture for organized test output Dec 19, 2025
Copilot AI requested a review from YunchuWang December 19, 2025 18:16
@YunchuWang YunchuWang closed this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants