You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separates repository agent-workflow and policy improvements from #4130:
Generalizes Azure DevOps work-item Markdown guidance and resource-access tooling.
Improves prompt guidance for generating prompts and triaging pipeline failures.
Adds repository Markdown lint configuration.
Clarifies coding-style guidance for line wrapping and regions.
This PR contains documentation, prompt, policy, and tooling configuration changes only. It does not change product APIs or runtime behavior.
Issues
Split from #4130 in response to review feedback requesting that unrelated agent and policy improvements be reviewed separately.
Testing
Not run. The changes affect Markdown guidance, prompts, policy documentation, and Markdown lint configuration only; no documentation test target is defined for these files.
Addresses review feedback on #4777: derive branch scope from trigger
filters, recent run history, and template refs in addition to each
pipeline's default branch, and report groups as usage unknown when a
pipeline's branch scope cannot be determined.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The default marker selected above is UNUSED - PENDING DELETION, but this detector requires the substring delete; deletion does not contain delete. On a later audit, a now-used group can therefore retain the stale unused marker because the replacement rule never recognizes it. Match the resolved marker exactly and use a delet stem only for legacy variants.
Addresses review feedback on #4777:
- Derive scope from every branch and tag containing an enabled or paused
pipeline's YAML, since manual, scheduled, and resource-triggered runs
are not bounded by trigger filters or run history.
- Include paused YAML and Classic pipelines, and report unreferenced
groups as usage unknown whenever the scope is restricted or incomplete.
- Recognize the resolved unused marker and "delet" variants so the
default "PENDING DELETION" marker is detected on later audits.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
.github/prompts/audit-variable-groups.prompt.md:83 — Match unused marker variants using the correct deletion substring.Fixed in e510609. A description is now treated as marked unused when it contains the resolved unused marker, or contains both "unused" and the stem "delet" (matching "delete", "deleted", and "deletion"), case-insensitively. The default UNUSED - PENDING DELETION marker is therefore recognized on later audits, so a now-used group's stale marker is replaced.
Addresses review feedback on #4777:
- Start from each enabled or paused pipeline's YAML path and follow its
templates transitively, so examples, fixtures, and disabled pipelines'
YAML no longer count as usage.
- Resolve template paths, refs, and group values from fixed values or
declared parameter values; otherwise mark the scope incomplete.
- Summarize long ref lists from refs where the group is referenced,
never from an unrelated default branch.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Area\EngineeringUse this for issues that are targeted for changes in the 'eng' folder or build systems.Hotfix 6.1.8Hotfix 7.0.4Hotfix 7.1.2PRs targeting main that should be backported to release/7.1 for 7.1.2.
4 participants
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.
Description
Separates repository agent-workflow and policy improvements from #4130:
This PR contains documentation, prompt, policy, and tooling configuration changes only. It does not change product APIs or runtime behavior.
Issues
Split from #4130 in response to review feedback requesting that unrelated agent and policy improvements be reviewed separately.
Testing
Not run. The changes affect Markdown guidance, prompts, policy documentation, and Markdown lint configuration only; no documentation test target is defined for these files.