Conversation
Build the projects recording binary and switch both extensions after production Tier 0 tests. Agent init delegates to project add, which otherwise bypasses the playback proxy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🔗 Linked Issue RequiredThanks for the contribution! Please link a GitHub issue to this PR by adding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause
Agent init invokes the nested
azd ai project addcommand. The installed productionazure.ai.projectsbinary intentionally excludes the record-proxy transport, so its ARM requests ignoreAZD_TEST_HTTPS_PROXY, escape playback, and fail withSubscriptionNotFoundfor the fixture subscription.This is a baseline CI failure, not a help-text regression:
mainfailure atc8f657e2611006f25b38766a1a35f10ae88a605f: https://github.com/Azure/azure-dev/actions/runs/3555901110664ad13bf33868625583ffdaf21ac853e2cc81ab4: https://github.com/Azure/azure-dev/actions/runs/35584254108Minimal fix
Only
.github/workflows/test-ext-azure-ai-agents.ymlchanges (6 additions, 4 deletions):-BuildRecordModeswitch.No production transport, tests, cassettes, extension help, or other workflows change. The inline workflow comment documents why both binaries are necessary.
This standalone CI fix is an upstream prerequisite for Azure#10104 and deliberately preserves that PR's strict five-extension scope. Merging this fork PR alone will not fix upstream CI; the workflow change must land in Azure/azure-dev separately.
Validation
Fresh hosted validation for this PR's commit
f68c7fe792bf40863343eadf475f5e1feed5becbsucceeded: https://github.com/Siglud/azure-dev/actions/runs/35691981986. The projects build/install and unit tests, production Tier 0 tests, record-binary swap, and playback Tier 1 tests all passed.Performed for this focused change:
e13f1c5dedb16343581e860b2371cc63186acd17.ci-build.ps1 -BuildRecordModeon Windows with Go 1.26.4 andGOWORK=off; both builds succeeded. Binary metadata confirms only the second includes therecordtag. Also parsed both extension build scripts with the PowerShell parser.git diff --checkpassed.c8f657e2611006f25b38766a1a35f10ae88a605f; upstreammaininspected at4b9896ee2d3b4ac6dabc90dd0105629a14135138. Both three-dot comparisons contain exactly this one workflow.git merge-tree --write-tree upstream/main HEADsucceeds without conflicts, and its result differs from upstream by only this workflow. No other branch was changed.Additional historical hosted proof: https://github.com/Azure/azure-dev/actions/runs/35580536942 at
e13f1c5dedb16343581e860b2371cc63186acd17succeeded; its logs show all four Tier 0 and all five Tier 1 tests passing with this exact workflow. Tier 0/Tier 1 were not rerun locally in this session. No live recording, deployment, or authentication was performed.Governance limitation
The fork's PR Governance check requires a closing issue reference. Creating a genuine issue for this CI defect failed with HTTP 410 because Issues are disabled in Siglud/azure-dev. No false closing reference to the unrelated help issue Azure#8506 was added. Governance remains blocked separately from the passing technical checks; no repository settings or governance workflow changes were made.