Add upload-llm-artifacts common template step + pipelineArtifact output#49698
Open
ReilleyMilne wants to merge 3 commits into
Open
Add upload-llm-artifacts common template step + pipelineArtifact output#49698ReilleyMilne wants to merge 3 commits into
ReilleyMilne wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for collecting and publishing test result files as “LLM Artifacts” in Azure Pipelines, enabling downstream LLM tooling (e.g., GitHub Copilot) to analyze test runs using the raw test result outputs.
Changes:
- Integrates the shared
/eng/common/.../upload-llm-artifacts.ymlstep into the Javabuild-and-test.ymltemplate to stage JUnit XML results into$(Build.ArtifactStagingDirectory)/llm-artifacts. - Publishes the staged
llm-artifactsdirectory as a pipeline artifact fromci.tests.ymlwhen staging detected test result files.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| eng/pipelines/templates/steps/build-and-test.yml | Adds the shared LLM-artifacts staging step after PublishTestResults. |
| eng/pipelines/templates/jobs/ci.tests.yml | Adds a conditional pipeline artifact output to publish the staged llm-artifacts directory. |
| condition: or(eq(variables['CaptureRepositoryOnFailure'], 'true'), and(failed(), eq(variables['Build.Reason'],'Schedule'))) | ||
| sbomEnabled: false | ||
|
|
||
| # See eng/common/pipelines/templates/steps/upload-llm-artifacts.yml for corresponding file copy step |
Comment on lines
+287
to
+291
| - template: /eng/common/pipelines/templates/steps/upload-llm-artifacts.yml | ||
| parameters: | ||
| TestResultsGlob: 'TEST-*.xml' | ||
| SearchFolder: '$(System.DefaultWorkingDirectory)/sdk' | ||
|
|
benbp
approved these changes
Jul 1, 2026
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.
This pull request introduces a new pipeline step to collect and upload test result files as "LLM Artifacts" to support downstream LLM tooling (such as GitHub Copilot) for test analysis. The changes add a reusable, language-agnostic template for staging test result files and update the CI test job to use this template and publish the artifacts when available.