Skip to content

Fix registry CI pnpm lockfile mismatch#65189

Merged
potiuk merged 1 commit intoapache:mainfrom
astronomer:fix-registry-pnpm-lockfile
Apr 14, 2026
Merged

Fix registry CI pnpm lockfile mismatch#65189
potiuk merged 1 commit intoapache:mainfrom
astronomer:fix-registry-pnpm-lockfile

Conversation

@kaxil
Copy link
Copy Markdown
Member

@kaxil kaxil commented Apr 14, 2026

The registry build and backfill workflows fail with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH because they install pnpm v9, but the lockfile was generated with pnpm v10.

pnpm v9 and v10 handle pnpm-workspace.yaml overrides differently. The overrides section in the workspace config is written into the lockfile by pnpm v10, but pnpm v9 doesn't recognize it as matching, so --frozen-lockfile always fails.

Fix

Bump pnpm from v9 to v10 in both registry-build.yml and registry-backfill.yml.

The registry lockfile was generated with pnpm v10 but CI installs
pnpm v9, which reads pnpm-workspace.yaml overrides differently,
causing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on every run.
@potiuk potiuk merged commit 6497fa5 into apache:main Apr 14, 2026
142 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Airflow Registry Apr 14, 2026
github-actions bot pushed a commit that referenced this pull request Apr 14, 2026
The registry lockfile was generated with pnpm v10 but CI installs
pnpm v9, which reads pnpm-workspace.yaml overrides differently,
causing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on every run.
(cherry picked from commit 6497fa5)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@github-actions
Copy link
Copy Markdown

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:registry backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants