Add Astred template - #17424
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an opt-in “Astred” footer to Arcade’s Azure DevOps core job template to capture MSBuild debug-engine binlogs, generate an Astred digest, and upload it for internal builds.
Changes:
- Added a new
astred-artifacts.ymlsteps template to install Astred CLI, generate.astred.project.json, create a portable digest, and upload it. - Added
enableAstredto the core job template and wired it to setMSBUILDDEBUGENGINE/MSBUILDDEBUGPATHand invoke the new footer template for internal jobs. - Documented the new
enableAstredparameter in the Azure DevOps template schema.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| eng/common/core-templates/steps/astred-artifacts.yml | New footer steps to generate and upload Astred portable digests from captured binlogs. |
| eng/common/core-templates/job/job.yml | Adds enableAstred parameter and conditionally enables MSBuild debug capture + runs the Astred footer for internal jobs. |
| Documentation/AzureDevOps/TemplateSchema.md | Documents the new enableAstred job parameter in the template schema. |
Suppressed comments (3)
eng/common/core-templates/steps/astred-artifacts.yml:55
- Avoid using emoji in Azure Pipelines displayName values; the other core templates use plain ASCII (e.g., eng/common/core-templates/steps/publish-logs.yml:22,47,58).
displayName: 🟣 Generate Astred Project Files
eng/common/core-templates/steps/astred-artifacts.yml:112
- Avoid using emoji in Azure Pipelines displayName values; the other core templates use plain ASCII (e.g., eng/common/core-templates/steps/publish-logs.yml:12).
displayName: 🟣 Package Portable Astred Digests
eng/common/core-templates/steps/astred-artifacts.yml:121
- Avoid using emoji in Azure Pipelines displayName values; the other core templates use plain ASCII (e.g., eng/common/core-templates/steps/publish-logs.yml:58).
displayName: 🟣 Upload Digest to Astred
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| displayName: Install Astred CLI | ||
| inputs: | ||
| Version: '2.14.1' | ||
| FeedUrl: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet-internal-FoSSE/nuget/v3/index.json' |
There was a problem hiding this comment.
Why did this feed end up org-scoped?
There was a problem hiding this comment.
I don't know, this feed already existed. It was created in a FR thread.
To double check:
Validation in the SDK repo: https://dev.azure.com/dnceng/internal/_build/results?buildId=3058905&view=results