From 4fd0a3f2d4b2a35a61c5f2b6ade4e9726c452185 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Thu, 9 Apr 2026 13:09:50 -0700 Subject: [PATCH] [npm-post-publish] Update plugins autoinstaller lockfile before rush update The bump-decoupled-local-dependencies step can update the plugins autoinstaller's package.json, causing rush update to fail with ERR_PNPM_OUTDATED_LOCKFILE because the lockfile is stale. Fix by running rush update-autoinstaller --name plugins first. Co-Authored-By: Claude Sonnet 4.6 --- common/config/azure-pipelines/npm-post-publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/config/azure-pipelines/npm-post-publish.yaml b/common/config/azure-pipelines/npm-post-publish.yaml index a95355bc7da..04549b71076 100644 --- a/common/config/azure-pipelines/npm-post-publish.yaml +++ b/common/config/azure-pipelines/npm-post-publish.yaml @@ -136,13 +136,13 @@ extends: - template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self parameters: - Arguments: 'update' - DisplayName: 'Rush Update' + Arguments: 'update-autoinstaller --name plugins' + DisplayName: 'Rush Update Autoinstaller (plugins)' - template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self parameters: - Arguments: 'update-autoinstaller --name plugins' - DisplayName: 'Rush Update Autoinstaller (plugins)' + Arguments: 'update' + DisplayName: 'Rush Update' - bash: | set -e