Skip to content

Revert #49: production tarball corruption after deploy#50

Merged
fengmk2 merged 1 commit into
mainfrom
revert-perf-reduce-cpu-memory
Jul 1, 2026
Merged

Revert #49: production tarball corruption after deploy#50
fengmk2 merged 1 commit into
mainfrom
revert-perf-reduce-cpu-memory

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

Reverts #49. Right after that PR deployed, pnpm started failing to install
@voidzero-dev/vite-plus-core preview builds from this bridge:

ERR_PNPM_TARBALL_EXTRACT  Failed to add tarball from
"https://registry-bridge.viteplus.dev/tarballs/@voidzero-dev/vite-plus-core/0.0.0-commit.14f13284edd3755ac46a3af4632c562d53645368.tgz"
to store: Invalid checksum for TAR header at offset 5038080. Expected 0, got NaN

That points at corrupted/truncated tarball bytes, and #49 rewrote the
byte-assembly logic in fetchUpstreamTarball (the buffer this preview
package's on-demand build path streams the upstream download into before
repacking). Reverting to restore service while the actual defect gets a
proper root-cause fix backed by a reproduction test.

Test plan

@fengmk2 fengmk2 merged commit 3f82095 into main Jul 1, 2026
4 checks passed
@fengmk2 fengmk2 deleted the revert-perf-reduce-cpu-memory branch July 1, 2026 17:25
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