Skip to content

Conversation

@JoshLove-msft
Copy link
Member

Fixes #53109

@JoshLove-msft JoshLove-msft requested a review from a team as a code owner October 9, 2025 17:20
Copilot AI review requested due to automatic review settings October 9, 2025 17:20
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 support for subclient property interceptor functionality in the Azure.Core.TestFramework by expanding the conditions that determine when result instrumentation should be applied to client objects.

  • Extends the client detection logic to include objects with a "Pipeline" property, indicating they are subclient instances
  • Updates the conditional logic in the InstrumentResultInterceptor.Intercept method to handle subclient scenarios

@JoshLove-msft JoshLove-msft enabled auto-merge (squash) October 9, 2025 18:29
@JoshLove-msft JoshLove-msft merged commit 5f5f941 into Azure:main Oct 9, 2025
11 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.

Instrument subclients even when type name does not end in "Client" and there is no method accessor

2 participants