Skip to content

fix: avoid node publish race during release#388

Merged
kvz merged 1 commit intomainfrom
fix/release-prepack-race
Apr 15, 2026
Merged

fix: avoid node publish race during release#388
kvz merged 1 commit intomainfrom
fix/release-prepack-race

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented Apr 15, 2026

Summary

  • reuse a prebuilt @transloadit/node dist during the release publish flow instead of rebuilding it concurrently
  • prebuild @transloadit/node in the release workflow and pass an explicit env flag to publish-time prep
  • keep local prepack behavior rebuilding by default outside the release flow

Validation

  • corepack yarn exec vitest run packages/node/test/unit/prepare-transloadit.test.ts
  • concurrent local pack simulation for @transloadit/node and transloadit with TRANSLOADIT_PUBLISH_PREBUILT_NODE=true
  • corepack yarn check in a clean worktree

@kvz kvz merged commit 94b43c1 into main Apr 15, 2026
10 checks passed
@kvz kvz deleted the fix/release-prepack-race branch April 15, 2026 13:03
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.

1 participant