You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes pipeline failures introduced by PR #48707 (commit 6b1a3a7250).
Diagnosis
The test TestAiAgentsInstrumentor.test_trace_context_propagation in tests/agents/telemetry/test_ai_agents_instrumentor.py does a direct import httpx to create a mock HTTPX transport, but httpx was not listed as a test dependency for azure-ai-projects. This caused ModuleNotFoundError: No module named 'httpx' on all CI platforms.
Change
Added httpx to sdk/ai/azure-ai-projects/dev_requirements.txt.
Validation
Validation is pending the automated checks triggered by this draft pull request.
Warning
Protected Files
This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
Potential security threats were detected in the agent output.
Review the workflow run logs for details.
Summary
Fixes pipeline failures introduced by PR #48707 (commit
6b1a3a7250).Diagnosis
The test
TestAiAgentsInstrumentor.test_trace_context_propagationintests/agents/telemetry/test_ai_agents_instrumentor.pydoes a directimport httpxto create a mock HTTPX transport, buthttpxwas not listed as a test dependency forazure-ai-projects. This causedModuleNotFoundError: No module named 'httpx'on all CI platforms.Change
Added
httpxtosdk/ai/azure-ai-projects/dev_requirements.txt.Validation
Validation is pending the automated checks triggered by this draft pull request.
Warning
Protected Files
This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.
Click here to create the pull request once you have reviewed the changes
Protected files
README.mdTo route changes like this to a review issue instead of blocking, configure
protected-files: fallback-to-issuein your workflow configuration.