Skip to content

Conversation

@maliming
Copy link
Member

@maliming maliming commented Dec 9, 2025

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 adds debug-level logging to the TenantResolver class to improve observability during tenant resolution operations. The changes include adding a logger property, refactoring private fields to protected properties for better extensibility, and inserting logging statements at key points in the tenant resolution flow.

Key changes:

  • Added ILogger<TenantResolver> property with NullLogger initialization following the codebase's standard pattern
  • Converted private fields to protected properties (ServiceProvider and Options) to support potential inheritance scenarios
  • Added debug logging at tenant resolution start, during each resolver attempt, upon successful resolution, and for fallback scenarios

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

maliming and others added 3 commits December 9, 2025 14:24
…ntResolver.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ntResolver.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ntResolver.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@maliming maliming requested a review from EngincanV December 9, 2025 06:57
@EngincanV EngincanV merged commit bc65c52 into rel-10.0 Dec 10, 2025
3 checks passed
@EngincanV EngincanV deleted the TenantResolver branch December 10, 2025 13:13
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