Run link verification before steps that build project#2233
Run link verification before steps that build project#2233alzimmermsft wants to merge 1 commit intomicrosoft:mainfrom
Conversation
jongio
left a comment
There was a problem hiding this comment.
The block moves cleanly - byte-identical, no accidental changes. One behavioral concern: verify-links doesn't use continueOnError, and the downstream steps (source analysis, AOT, spell check) rely on the default succeeded() condition. So a link failure would now skip those steps entirely. On main today, link failures don't block them because verify-links runs after.
| packageType: sdk | ||
| version: 9.0.x | ||
|
|
||
| - template: /eng/common/pipelines/templates/steps/verify-links.yml |
There was a problem hiding this comment.
Since this step doesn't have continueOnError: true and the downstream analysis steps use the default succeeded() condition, a link verification failure would now block source analysis, AOT analysis, and spell check from running.
If the intent is faster link feedback without gating the build, consider adding condition: succeededOrFailed() to those downstream steps - same pattern used by the README validation step at the bottom of this file.
Or if you want links to be a hard gate, this is fine as-is - just wanted to flag the change in behavior.
What does this PR do?
Moves the
Link verification checkto run before steps that build project files.GitHub issue number?
[Link to the GitHub issue this PR addresses]Pre-merge Checklist
servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentationREADME.mdchanges running the script./eng/scripts/Process-PackageReadMe.ps1. See Package READMEToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test promptsconsolidated-tools.jsonbreaking-changelabelservers/Azure.Mcp.Server/docs/azmcp-commands.md./eng/scripts/Update-AzCommandsMetadata.ps1to update tool metadata inazmcp-commands.md(required for CI)servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline