Include default value for _info, use template#648
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the _info “placeholder” parameter used in Azure DevOps pipelines to include a default value (to avoid breaking non-interactive triggers), and reduces duplication by factoring the _info parameter definition into a reusable pipelineymlgen inline template.
Changes:
- Add a reusable
eng/pipeline/util/info.gen.ymltemplate for the_infoparameter (includingdefault). - Update pipeline
.gen.ymlsources to reference the new inline template instead of duplicating_infoblocks. - Regenerate affected pipeline YAML outputs to include the
_info.defaultfield.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| eng/pipeline/util/info.gen.yml | New reusable inline template for _info parameter (adds default). |
| eng/pipeline/rolling-internal-validation.gen.yml | Switch _info parameter definition to the new inline template. |
| eng/pipeline/rolling-internal-validation-pipeline.yml | Regenerated output: adds _info.default. |
| eng/pipeline/rolling-internal-validation-pipeline-unofficial.yml | Regenerated output: adds _info.default. |
| eng/pipeline/go-docker-rolling-internal.gen.yml | Switch _info parameter definition to the new inline template. |
| eng/pipeline/go-docker-rolling-internal-pipeline.yml | Regenerated output: adds _info.default. |
| eng/pipeline/go-docker-rolling-internal-pipeline-unofficial.yml | Regenerated output: adds _info.default. |
| eng/pipeline/cleanup-acr-images.gen.yml | Switch _info parameter definition to the new inline template. |
| eng/pipeline/cleanup-acr-images-pipeline.yml | Regenerated output: adds _info.default. |
| eng/pipeline/cleanup-acr-images-pipeline-unofficial.yml | Regenerated output: adds _info.default. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
gdams
approved these changes
Jul 9, 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.
For
_info,defaultisn't necessary for human-initiated runs (the sole option is automatically selected), but it seems that lacking adefaultbreaks automatic triggers (scheduled and via AzDO API). Add adefaultto try to fix this.This AzDO behavior is not documented. microsoft/go-infra#518 updates the doc that keeps track of quirks like this, if this ends up being a working solution.
Also, creates and uses a new pipelineymlgen template to avoid excessive duplication. It's also a central place to document the strategy involved.