microsoft / microsoft/foundry-dev-tools

Can't deploy hosted agent to existing ACR, extension insists on creating new one

Open
#367 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
2.1k
Forks
260
Avg merge
42m
Merged PRs (30d)
29

Description

I have a hosted agent that was created and deployed via the Foundry extension, which created an ACR for the deployment to which I had an admin assign me push permissions. I recently tried to push some updated code for this project using the AI Toolkit extension, but it fails to recognise the presence of the existing ACR and creates a new one for which I don't have permission to push code, causing deployment to fail. Annoyingly, if I go back to the Foundry extension it now tries to use the newly created ACR and even if I delete the newly created ACR both extensions now recreate it with the same name when I try to deploy. So my understanding is that the extension appears to have applied a setting somewhere for the project that is instructing it to push to that new ACR name, but I can't see how to set that back to my previously existing ACR.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing deployment through the Foundry and AI Toolkit extensions, then inspect how the project selects or stores its Azure Container Registry. Compare behavior when the previously existing ACR is available and when the newly created ACR is deleted. Done means updated hosted-agent code deploys through the existing ACR without recreating another registry.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, javascript
Domain
cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.