next.js
e9150cad - fix(ci): improve Docker image cache streaming throughput and arch-awareness (#92617)

Commit
15 hours ago
fix(ci): improve Docker image cache streaming throughput and arch-awareness (#92617) ## What - Increase `highWaterMark` from 16KB (Node.js default) to 16MB for turbo-cache stream downloads and uploads. - Include host architecture (`os.arch()`) in Docker image cache key. ## Why The tiny default buffer in `Readable.fromWeb()` causes constant backpressure stalls when piping large artifacts (~500MB Docker images) through `zstd -d | docker load`. The image contains native binaries (Rust toolchain, lld-link symlink) that are arch-specific — without this, an image built on x86_64 could be restored on aarch64 with broken binaries.
Author
Parents
Loading