diff --git a/sdk/ai/azure-ai-projects/assets.json b/sdk/ai/azure-ai-projects/assets.json index 1d1c8afa0323..9054e0b374ee 100644 --- a/sdk/ai/azure-ai-projects/assets.json +++ b/sdk/ai/azure-ai-projects/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "python", "TagPrefix": "python/ai/azure-ai-projects", - "Tag": "python/ai/azure-ai-projects_e907ded382" + "Tag": "python/ai/azure-ai-projects_862aa6433f" } diff --git a/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation.py b/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation.py index f68d4fdae952..3387cb9e14e6 100644 --- a/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation.py +++ b/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation.py @@ -31,9 +31,6 @@ _utils._span_impl_type = settings.tracing_implementation() -@pytest.mark.skip( - reason="Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema" -) class TestResponsesInstrumentorBrowserAutomation(TestAiAgentsInstrumentorBase): """Tests for ResponsesInstrumentor with browser automation agents.""" diff --git a/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation_async.py b/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation_async.py index 46918894c2fb..880a96b3166f 100644 --- a/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation_async.py +++ b/sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_browser_automation_async.py @@ -34,9 +34,6 @@ _utils._span_impl_type = settings.tracing_implementation() -@pytest.mark.skip( - reason="Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema" -) class TestResponsesInstrumentorBrowserAutomationAsync(TestAiAgentsInstrumentorBase): """Async tests for ResponsesInstrumentor with browser automation agents.""" diff --git a/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning.py b/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning.py index d8e28452557f..6a265f3ada48 100644 --- a/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning.py +++ b/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning.py @@ -60,9 +60,6 @@ def _wrapper(test_class, job_type, expected_method_type, **kwargs): return _wrapper -@pytest.mark.skip( - reason="Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema" -) class TestFineTuning(TestBase): def _create_sft_finetuning_job(self, openai_client, train_file_id, validation_file_id, training_type, model_type): diff --git a/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning_async.py b/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning_async.py index be0cc2de95dc..06838474a2c9 100644 --- a/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning_async.py +++ b/sdk/ai/azure-ai-projects/tests/finetuning/test_finetuning_async.py @@ -63,9 +63,6 @@ async def _wrapper(test_class, job_type, expected_method_type, **kwargs): return _wrapper -@pytest.mark.skip( - reason="Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema" -) class TestFineTuningAsync(TestBase): async def _create_sft_finetuning_job_async( diff --git a/sdk/ai/azure-ai-projects/tests/samples/test_samples.py b/sdk/ai/azure-ai-projects/tests/samples/test_samples.py index 2bd4594c843d..5baf0d28583b 100644 --- a/sdk/ai/azure-ai-projects/tests/samples/test_samples.py +++ b/sdk/ai/azure-ai-projects/tests/samples/test_samples.py @@ -28,19 +28,19 @@ class TestSamples(AzureRecordedTestCase): # To run this test with a specific sample, use: # pytest tests/samples/test_samples.py::TestSamples::test_agent_tools_samples[sample_agent_memory_search] @servicePreparer() - # @additionalSampleTests( - # [ - # AdditionalSampleTestDetail( # 2/28/2026 westus2 get 500 - # test_id="sample_agent_azure_function", - # sample_filename="sample_agent_azure_function.py", - # env_vars={ - # "STORAGE_INPUT_QUEUE_NAME": "sanitized_input_queue_name", - # "STORAGE_OUTPUT_QUEUE_NAME": "sanitized_output_queue_name", - # "STORAGE_QUEUE_SERVICE_ENDPOINT": "sanitized_queue_service_endpoint", - # }, - # ), - # ] - # ) + @additionalSampleTests( + [ + AdditionalSampleTestDetail( + test_id="sample_agent_azure_function", + sample_filename="sample_agent_azure_function.py", + env_vars={ + "STORAGE_INPUT_QUEUE_NAME": "sanitized_input_queue_name", + "STORAGE_OUTPUT_QUEUE_NAME": "sanitized_output_queue_name", + "STORAGE_QUEUE_SERVICE_ENDPOINT": "sanitized_queue_service_endpoint", + }, + ), + ] + ) @pytest.mark.parametrize( "sample_path", get_sample_paths( @@ -48,7 +48,6 @@ class TestSamples(AzureRecordedTestCase): samples_to_skip=[ "sample_agent_azure_function.py", # In the list of additional sample tests above due to more parameters needed "sample_agent_computer_use.py", # 400 BadRequestError: Invalid URI (URI string too long) - "sample_agent_browser_automation.py", # APITimeoutError: request timed out "sample_agent_openapi.py", # 400 2/28/2026 validation/tool_user_error; failing weather GET curl call in OpenAPI tool "sample_agent_memory_search.py", # Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema ], @@ -70,10 +69,7 @@ def test_agent_tools_samples(self, sample_path: str, **kwargs) -> None: "sample_path", get_sample_paths( "memories", - samples_to_skip=[ - "sample_memory_advanced.py", - "sample_memory_basic.py", - ], + samples_to_skip=[], ), ) @servicePreparer() @@ -94,7 +90,7 @@ def test_memory_samples(self, sample_path: str, **kwargs) -> None: "sample_path", get_sample_paths( "agents", - samples_to_skip=[""], + samples_to_skip=[], ), ) @servicePreparer() @@ -196,10 +192,7 @@ def test_datasets_samples(self, sample_path: str, **kwargs) -> None: "sample_path", get_sample_paths( "finetuning", - samples_to_skip=[ - "sample_finetuning_reinforcement_job.py", # 403 PermissionDeniedError: missing Microsoft.MachineLearningServices/workspaces/agents/action - "sample_finetuning_dpo_job.py", # 401 AuthenticationError: missing AIServices/agents/write data action - ], + samples_to_skip=[], ), ) @fineTuningServicePreparer()