Repository navigation
ci(azure.ai.agents): add live feature E2E pipeline - #11067
Open
Hui Miao (huimiu) wants to merge 4 commits into
Open
Hui Miao (huimiu) wants to merge 4 commits into
Hui Miao (huimiu) wants to merge 4 commits into
Conversation
|
Azure Pipelines: 27 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Hui Miao (huimiu)
force-pushed
the
ci/azure-ai-agents-live-tests
branch
3 times, most recently
from
December 2, 2026 12:37
71e51e9 to
f66d043
Compare
Add a standalone Azure DevOps live test pipeline (`eng/pipelines/ext-azure-ai-feature-e2e.yml`) that builds `azd` and Foundry extensions from source, authenticates via OIDC, and discovers and runs all Go test files under `cli/azd/extensions/azure.ai.agents/tests/feature-e2e/...` on a daily schedule or manual trigger. Copilot-Session: 7926b51b-a03c-46ee-a52c-c5c02500d048
Hui Miao (huimiu)
force-pushed
the
ci/azure-ai-agents-live-tests
branch
from
December 2, 2026 13:21
f66d043 to
42c4116
Compare
Hui Miao (huimiu)
marked this pull request as ready for review
December 2, 2026 13:25
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The pipeline can exceed its task limit when multiple packages run sequentially and lacks an always-run cleanup path for resources left after forced termination.
2 open issues
What changed in this PR
Adds a scheduled and manually triggered Azure DevOps pipeline for live Azure AI Agents feature E2E tests.
Changes:
- Builds azd and Foundry extensions from source.
- Authenticates through Azure CLI and runs discovered feature tests.
- Publishes E2E logs as pipeline artifacts.
| File | Description |
|---|---|
| eng/pipelines/ext-azure-ai-feature-e2e.yml | Defines the live feature E2E pipeline, including source builds, authentication, test execution, and log artifact publication. |
Review effort: Lite
Copilot-Session: 7926b51b-a03c-46ee-a52c-c5c02500d048
Copilot-Session: 7926b51b-a03c-46ee-a52c-c5c02500d048
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The pipeline still exposes Azure and GitHub credentials to repository-controlled code without restricting manual runs to a protected ref, and it lacks unconditional cleanup for resources left after abrupt test termination.
2 open issues
1 resolved since last review
Review effort: Lite
This branch has not been deployed
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.


Summary
Add a standalone Azure DevOps live test pipeline (
eng/pipelines/ext-azure-ai-feature-e2e.yml) to discover and run Go feature E2E tests undercli/azd/extensions/azure.ai.agents/tests/feature-e2e/...against live Azure resources. Push and pull request triggers (including PR comments) are disabled (trigger: none,pr: none), so the pipeline runs only on its daily 00:00 UTC schedule againstmainor when queued manually in Azure DevOps.Changes
eng/pipelines/ext-azure-ai-feature-e2e.ymlon/eng/pipelines/templates/stages/1es-redirect.yml, modeled oneng/pipelines/ext-azure-ai-agents-live.yml.azd(without-tags=record) and buildazure.ai.agentsalong with its sibling Foundry extensions (azure.ai.projects,azure.ai.connections,azure.ai.toolboxes,azure.ai.inspector,azure.ai.skills,azure.ai.routines) from source into$HOME/.azd. Generate$HOME/.azd/config.jsonfrom eachextension.yamlwithyq, then verify locally withazd versionandazd ai agent version.AzureCLI@2(keepAzSessionActive: true,azd config set auth.useAzCliAuth true), discover runnable test packages undercli/azd/extensions/azure.ai.agents/tests/feature-e2e/..., and run them sequentially (go test -count=1) under a shared 145-minute wall-clock budget within the 150-minute step timeout.tests/feature-e2edoes not exist yet or has no runnable test packages, and publish$(Build.ArtifactStagingDirectory)/logs/feature-e2e.logas apipelineArtifact.Notes
cli/azd/extensions/azure.ai.agents/tests/feature-e2e/will land in a follow-up PR.always()fallback cleanup step for resources left behind by a hard timeout or killed test binary (similar toeng/pipelines/ext-azure-ai-agents-live.yml) in that follow-up PR, once the test cases define their workspace directory and resource-group naming or tagging conventions.