Skip to content

Stop tar.gz update downloads after unpack failure#716

Merged
ryanfowler merged 1 commit into
mainfrom
fix-targz-update-streaming
Jun 5, 2026
Merged

Stop tar.gz update downloads after unpack failure#716
ryanfowler merged 1 commit into
mainfrom
fix-targz-update-streaming

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Stop reading the tar.gz update stream as soon as the unpack task ends early
  • Surface the unpack task error immediately instead of draining the remaining response body
  • Add a regression test that feeds an unsafe first tar entry followed by a long tail stream

Testing

  • cargo test --all-features unpack_tar_gz_response_stops_downloading_after_unpack_fails
  • cargo clippy --locked --all-targets --all-features -- -D warnings

@ryanfowler ryanfowler merged commit 695aa65 into main Jun 5, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix-targz-update-streaming branch June 5, 2026 15:47
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