From bce64595bfd82d6b541e8721a54e83120af6c1de Mon Sep 17 00:00:00 2001 From: Paulo Lacerda Date: Fri, 7 Aug 2026 02:19:39 -0300 Subject: [PATCH] fix: pin azd ai agents extension to an existing version The generated CI pinned `azure.ai.agents` to `1.0.0`, which has never been published to the azd extension registry. Every generated pipeline targeting a Foundry hosted agent failed at `Install pinned azd AI agents extension` with `ERROR: no extensions found`, on both GitHub Actions and Azure DevOps. The highest published version is `1.0.0-beta.9`, confirmed against https://aka.ms/azd/extensions/registry and `azd extension list`. Verified end to end: with this version the PR gate installs the extension, `agentops eval run` completes, results publish to New Foundry Evaluations, and the gate reports `Threshold status: PASSED`. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bcb9c0b6-d506-46dc-90d2-8120413166ee --- src/agentops/pipeline/official_eval.py | 2 +- tests/unit/test_cicd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agentops/pipeline/official_eval.py b/src/agentops/pipeline/official_eval.py index 7dba5e58..b302ac16 100644 --- a/src/agentops/pipeline/official_eval.py +++ b/src/agentops/pipeline/official_eval.py @@ -20,7 +20,7 @@ OFFICIAL_EVAL_ACTION_ENV = "AGENTOPS_OFFICIAL_EVAL_ACTION" OFFICIAL_EVAL_ADO_TASK_ENV = "AGENTOPS_OFFICIAL_EVAL_ADO_TASK" AZD_EVAL_RUNNER = "azd-ai-agent-eval" -AZD_AI_AGENTS_EXTENSION_VERSION = "1.0.0" +AZD_AI_AGENTS_EXTENSION_VERSION = "1.0.0-beta.9" AZD_AI_AGENTS_EXTENSION_VERSION_ENV = "AGENTOPS_AZD_AI_AGENTS_EXTENSION_VERSION" AGENTOPS_LOCAL_RUNNER = "agentops-local" AGENTOPS_CLOUD_RUNNER = "agentops-cloud" diff --git a/tests/unit/test_cicd.py b/tests/unit/test_cicd.py index d189e0fb..1c77626d 100644 --- a/tests/unit/test_cicd.py +++ b/tests/unit/test_cicd.py @@ -1001,7 +1001,7 @@ def test_azure_devops_with_eval_yaml_uses_azd_eval_runner(tmp_path: Path) -> Non assert result.eval_runner == "azd-ai-agent-eval" assert "install-azd.sh" in content - assert 'azd extension install azure.ai.agents --version "1.0.0"' in content + assert 'azd extension install azure.ai.agents --version "1.0.0-beta.9"' in content assert "Run azd AI agent eval through AgentOps" in content assert 'agentops eval run --config ".agentops/deployments/agentops.candidate.yaml" --output ".agentops/results/latest"' in content assert "AIAgentEvaluation@2" not in content