Skip to content

all: migrate to pnpm workspace #6109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 21, 2025
Merged

all: migrate to pnpm workspace #6109

merged 8 commits into from
Aug 21, 2025

Conversation

fubhy
Copy link
Member

@fubhy fubhy commented Aug 19, 2025

The current setup with yarn has Node module resolution issues and therefore produces other WASM hashes and subgraph hashes. This can be replicated also in yarn by installing the package seperately instead of via the yarn workspace (produces the same output as pnpm in that case).

E.g. for the test static_filters_false_positives:

  1. Different deployment hashes:
  • pnpm: QmWgKfybDi2bMgvzMhhhGR49KJ2jFdUxMdnYs8DUfPcj1c
  • yarn: QmSfWeRwMvR1xdPamvBwB8yab6dauW5nwh84Kcefy6fgqB
  1. Different WASM hashes:
  • pnpm: QmbnJnVwV9DDcHRiUr6n1TQ3foMkSD9C9UtyXuiLYrNDoE
  • yarn: QmaQ5cE7a7YriKDs1ysFDwGgfqhmsnu1XJb9dAWyHPCavB
  1. Different POIs:
  • pnpm: 8e5cfe3f014586cf0f02277c306ac66f11da52b632b937bd74229cce1374d9d5
  • yarn: c72af01a19a4e35a35778821a354b7a781062a9320ac8796ea65b115cb9844bf

I have therefore updataed the POI hash assertion in the test suite where applicable. ./cc @lutter

NOTE: The new (pnpm) setup uses the correct versions. This was a bug / is a bug in the current setup with yarn.

@fubhy fubhy force-pushed the update-to-pnpm-workspace branch 14 times, most recently from e8c6619 to b54193c Compare August 21, 2025 11:16
@fubhy fubhy force-pushed the update-to-pnpm-workspace branch from b54193c to c74671d Compare August 21, 2025 11:29
@fubhy fubhy marked this pull request as ready for review August 21, 2025 11:35
@fubhy fubhy changed the title [WIP] all: migrate to pnpm workspace all: migrate to pnpm workspace Aug 21, 2025
@fubhy fubhy requested a review from lutter August 21, 2025 11:35
@fubhy fubhy force-pushed the update-to-pnpm-workspace branch 2 times, most recently from f43f935 to 9232e65 Compare August 21, 2025 14:04
@fubhy fubhy force-pushed the update-to-pnpm-workspace branch from 9232e65 to 9075ddc Compare August 21, 2025 14:13
Copy link
Collaborator

@lutter lutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@fubhy fubhy merged commit 5ca3fb9 into master Aug 21, 2025
6 checks passed
@fubhy fubhy deleted the update-to-pnpm-workspace branch August 21, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants