From 45dd9a97494b01b29fc69380bf5ac7f677d4fa4a Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 27 Sep 2026 20:52:12 -0500 Subject: [PATCH] fix(ci): resolve X dependency changes for the Sentry contract check Match the existing PR lanes that resolve dependency changes locally while CI owns the committed lockfile. Co-Authored-By: Paperclip --- .github/workflows/sentry-contract.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sentry-contract.yml b/.github/workflows/sentry-contract.yml index f4bb2bcebbb..b836f3039f3 100644 --- a/.github/workflows/sentry-contract.yml +++ b/.github/workflows/sentry-contract.yml @@ -47,7 +47,14 @@ jobs: version: 9.15.4 - name: Install workspace dependencies - run: pnpm install --frozen-lockfile + # Dependency-changing PRs leave lockfile updates to CI, as the main PR + # lanes do. Resolve the merge tree locally before the frozen install. + run: | + if ! pnpm install --frozen-lockfile; then + echo '::notice title=Lockfile::checked-in lockfile is stale for this merge tree; resolving it inline' + pnpm install --resolution-only --ignore-scripts --no-frozen-lockfile + pnpm install --frozen-lockfile + fi - name: Install the audited optional SDK outside the workspace shell: bash