Skip to content

fix(node): Upload sparse files as regular entries - #194

Merged
yuanzui-cf merged 1 commit into
mainfrom
fix/docker-sparse-upload
Sep 11, 2026
Merged

yuanzui-cf merged 1 commit into
mainfrom
fix/docker-sparse-upload

Conversation

@yuanzui-cf

Copy link
Copy Markdown
Member

Summary

Projects containing sparse files fail before dependency installation because Docker rejects GNU sparse tar entries with unhandled tar header type 83. Disable sparse encoding in the shared workspace/application upload helper so Docker receives regular file entries with the complete logical contents.

Preserve symlink handling. Add regression coverage for both build and SSR archive roots, sparse and ordinary file contents, and symlinks pointing outside the source directory. Sparse files now occupy their logical size in upload archives.

Validation

  • cargo test -p grass-node runtime::socket::tests — passed (4 tests).
  • just quality — passed (formatting, lint, Rust/Console tests and checks, builds, license checks).
  • Verified the failing repository contains a sparse image file on the deployment host. Runtime image deployment and real-project retry follow the release workflow.

Tracking

Closes #193

Related deployment: #192; parent: #191.

@yuanzui-cf
yuanzui-cf merged commit 4fa27e2 into main Sep 11, 2026
3 checks passed
@yuanzui-cf
yuanzui-cf deleted the fix/docker-sparse-upload branch September 11, 2026 18:33
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.

Fix sparse file uploads to Docker runtimes

1 participant