Skip to content

[pull] main from vercel:main - #537

Merged
pull[bot] merged 5 commits into
erickirt:mainfrom
vercel:main
Aug 26, 2026
Merged

[pull] main from vercel:main#537
pull[bot] merged 5 commits into
erickirt:mainfrom
vercel:main

Conversation

@pull

@pull pull Bot commented Aug 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

TooTallNate and others added 5 commits August 26, 2026 11:30
…duplicate step IDs (#3795)

* fix(builders): dedupe pnpm peer-variant copies instead of failing on duplicate step IDs

When pnpm resolves the same package version into multiple virtual-store
instances (one per peer-dependency resolution), each instance is a
byte-identical copy of the same module that generates the same canonical
step/workflow ID. The duplicate-ID check treated these as a fatal
collision, failing builds for apps whose dependency graphs pull in two
peer variants of the Workflow SDK (or any step-defining package).

The duplicate-ID check now fingerprints (SHA-256) the source of each
file that contributes manifest entries. When two different files emit
the same ID for the same symbol and their contents are identical, the
registration is deduplicated and the build continues. Files with
differing contents still fail with the existing collision error.

Content hashing is used rather than realpath()/inode identity because
pnpm materializes virtual instances via hard links (Linux) or
clones/copies (macOS APFS), neither of which realpath resolves and the
latter of which allocates fresh inodes.

The previously duplicated merge/assert logic in swc-esbuild-plugin.ts
and base-builder.ts is consolidated into a shared manifest-ids.ts.

* Update .changeset/dedupe-pnpm-peer-variant-step-ids.md

Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 26, 2026
@pull pull Bot added the ⤵️ pull label Aug 26, 2026
@pull
pull Bot merged commit 3e0c18a into erickirt:main Aug 26, 2026
9 of 11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants