-
Notifications
You must be signed in to change notification settings - Fork 5k
Azure.AI.Projects tests and recordings #52235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…o sramsey/projects-tests-recordings
There was a problem hiding this 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 introduces a comprehensive test framework for Azure.AI.Projects that enables recorded testing using System.ClientModel alongside Azure.Core test infrastructure. The implementation provides test coverage across all major SDK operations while establishing proper sanitization for sensitive data in recordings.
Key changes:
- Custom test framework bridging System.ClientModel with Azure.Core test proxies for recording/playback
- Comprehensive sanitization patterns for Azure resource identifiers, API keys, and sensitive data
- Test files covering Agents, Azure OpenAI Inference, Connections, Datasets, Deployments, Indexes, and Telemetry operations
Reviewed Changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
RecordedProjectsTestBase.cs | Base class providing System.ClientModel recording capabilities with transport configuration |
ProjectsTestSanitizers.cs | Centralized sanitization patterns for protecting sensitive data in test recordings |
ProjectsProxyTransport.cs | Transport adapter bridging System.ClientModel with Azure.Core test proxy infrastructure |
TestClientRetryPolicy.cs | Custom retry policy for fast test playback with configurable delays |
TestBase.cs | Main test base class with validation helpers and test parameter definitions |
ProjectsClientTestBase.cs | Client-specific test base providing recorded test capabilities |
Various test files | Individual test implementations for different SDK operations |
API surface changes | Methods marked as virtual to support test instrumentation |
assets.json | Updated tag for test recordings |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
…o sramsey/projects-tests-recordings
Uh oh!
There was an error while loading. Please reload this page.