Skip to content

[WIP] Add installation of Azure-related packages#22

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/install-azure-packages
Closed

[WIP] Add installation of Azure-related packages#22
Copilot wants to merge 1 commit into
mainfrom
copilot/install-azure-packages

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 9, 2026

  • Understand the CI failure: "Configure Search and Agents (idempotent)" fails because it tries to create an AI Search connection before the Azure ML workspace (AI Hub) exists
  • Create infra/setup_azure.sh — idempotent infrastructure script that creates the AI Hub before the AI Search connection step, with proper provisioning wait
  • Create infra/README.md — document the infrastructure setup process
  • Create .github/workflows/agentops-eval.yml — GitHub Actions evaluation CI workflow (issue GitHub Actions workflow generation #20)
  • Verify tests still pass after changes
Original prompt

Installing collected packages: azure-common, zipp, wrapt, typing-extensions, tqdm, strictyaml, sniffio, requests-oauthlib, psutil, opentelemetry-util-http, marshmallow, jiter, isodate, h11, asgiref, annotated-types, typing-inspection, pydash, pydantic-core, msal, importlib-metadata, httpcore, azure-core, anyio, pydantic, opentelemetry-api, msrest, msal-extensions, httpx, azure-storage-file-share, azure-storage-blob, azure-search-documents, azure-mgmt-core, opentelemetry-semantic-conventions, openai, azure-storage-file-datalake, azure-identity, azure-core-tracing-opentelemetry, opentelemetry-sdk, opentelemetry-instrumentation, azure-ai-projects, opentelemetry-resource-detector-azure, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation-urllib3, opentelemetry-instrumentation-urllib, opentelemetry-instrumentation-requests, opentelemetry-instrumentation-dbapi, opentelemetry-instrumentation-asgi, azure-monitor-opentelemetry-exporter, opentelemetry-instrumentation-psycopg2, opentelemetry-instrumentation-flask, opentelemetry-instrumentation-fastapi, opentelemetry-instrumentation-django, azure-monitor-opentelemetry, azure-ai-ml

Successfully installed annotated-types-0.7.0 anyio-4.12.1 asgiref-3.11.1 azure-ai-ml-1.31.0 azure-ai-projects-2.0.0 azure-common-1.1.28 azure-core-1.38.2 azure-core-tracing-opentelemetry-1.0.0b12 azure-identity-1.25.2 azure-mgmt-core-1.6.0 azure-monitor-opentelemetry-1.8.6 azure-monitor-opentelemetry-exporter-1.0.0b48 azure-search-documents-11.6.0 azure-storage-blob-12.28.0 azure-storage-file-datalake-12.23.0 azure-storage-file-share-12.24.0 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 importlib-metadata-8.7.1 isodate-0.7.2 jiter-0.13.0 marshmallow-3.26.2 msal-1.35.1 msal-extensions-1.3.1 msrest-0.7.1 openai-2.26.0 opentelemetry-api-1.39.0 opentelemetry-instrumentation-0.60b0 opentelemetry-instrumentation-asgi-0.60b0 opentelemetry-instrumentation-dbapi-0.60b0 opentelemetry-instrumentation-django-0.60b0 opentelemetry-instrumentation-fastapi-0.60b0 opentelemetry-instrumentation-flask-0.60b0 opentelemetry-instrumentation-psycopg2-0.60b0 opentelemetry-instrumentation-requests-0.60b0 opentelemetry-instrumentation-urllib-0.60b0 opentelemetry-instrumentation-urllib3-0.60b0 opentelemetry-instrumentation-wsgi-0.60b0 opentelemetry-resource-detector-azure-0.1.5 opentelemetry-sdk-1.39.0 opentelemetry-semantic-conventions-0.60b0 opentelemetry-util-http-0.60b0 psutil-7.2.2 pydantic-2.12.5 pydantic-core-2.41.5 pydash-8.0.6 requests-oauthlib-2.0.0 sniffio-1.3.1 strictyaml-1.7.3 tqdm-4.67.3 typing-extensions-4.15.0 typing-inspection-0.4.2 wrapt-1.17.3 zipp-3.23.0
##[error]No MachineLearningServices workspaces found in resource group AgentOps. Cannot create AI Search connection.

##[error]Script failed with exit code: 1
/usr/bin/az account clear
Finishing: Configure Search and Agents (idempotent)

[Chronological Review: The conversation began with the user requesting a review of a repository and assistance in creating Azure infrastructure and deployment pipelines for testing agentops tools. The user specified the need for idempotent infrastructure deployment and a single pipeline with two stages. The user created a service connection named "agentops" and later requested to disconnect from the current GitHub repo and transfer code to a new Azure DevOps repo. The user encountered multiple errors during the deployment process, particularly related to resource availability and document key validation. The user also installed various packages and faced issues with creating AI Search connections due to missing Machine Learning workspaces.]

[Intent Mapping:

  1. "I want to create a deployment in azure, where I can test the agentops tools."
  2. "Help me create the infrastructure and deployment pipelines for Azure DevOps."
  3. "Use the latest model version, and guide me on creating the service connection."
  4. "Before creating and running the pipeline, help me disconnect from the current GitHub repo."
  5. "I will now configure the Azure pipeline, but I would prefer to have 1 pipeline with 2 stages."
  6. "I keep getting errors, please have an in-depth search on how to Configure Search and Agents through code."]

[Technical Inventory:

  • Azure DevOps: Used for creating deployment pipelines.
  • Azure CLI: Used for executing commands related to Azure resources.
  • Python packages: Various Azure SDKs and dependencies were installed, including azure-ai-ml, azure-search-documents, and azure-identity.
  • Resource Groups: The user created a resource group named "AgentOps" in Azure.]

[Code Archaeology:

  • The user attempted to configure Azure resources and encountered errors related to invalid document keys and missing Machine Learning workspaces.
  • The user executed commands to create connections and deploy resources but faced multiple failures due to authorization and resource availability issues.]

[Progress Assessment:

  • Completed: Service connection created, initial package installations completed...

Created from VS Code.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@dixitox dixitox closed this Mar 9, 2026
@dixitox dixitox deleted the copilot/install-azure-packages branch March 9, 2026 16:36
Copilot stopped work on behalf of dixitox due to an error March 9, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants