From 2e1c35a93a2cb005e9f075d73a91435e5d78ef11 Mon Sep 17 00:00:00 2001 From: Sabrina Faceroli Tridico Date: Mon, 6 Jul 2026 11:35:56 -0700 Subject: [PATCH] Ensure symbols are always published during VS insertion Skip optional commit/work-item enrichment on the insertion step, and make the symbol download and archive steps always run so debug symbols are published even if a later step reports a non-fatal error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- azure-pipelines/build-insertion.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines/build-insertion.yml b/azure-pipelines/build-insertion.yml index 96e2c9136..7ffdd16bf 100644 --- a/azure-pipelines/build-insertion.yml +++ b/azure-pipelines/build-insertion.yml @@ -78,13 +78,20 @@ extends: InsertAutoComplete: true ConnectedVSDropServiceName: 'VSEng-VSDrop-MI' TargetBranch: ${{ parameters.VSInsertTargetBranch }} + # Skip optional commit/work-item enrichment; it is not needed for this repo + # and can otherwise abort the step after the PR has already been created. + AddCommitsToPR: false + LinkWorkItemsToPR: false env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) - download: projectSystemBuild artifact: symbolsToArchive displayName: 🔻 Download symbolsToArchive artifact + # Always publish symbols, even if a preceding step reports a non-fatal error. + condition: succeededOrFailed() - task: MicroBuildArchiveSymbols@6 displayName: 🔣 Archive symbols to Symweb + condition: succeededOrFailed() inputs: TeamName: Node Tools for Visual Studio azureSubscription: 'VSEng-SymbolsUpload' # SERVICE CONNECTION