[PR #1076] [MERGED] add extract all test #1499

Closed
opened 2026-01-29 22:20:52 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1076
Author: @adamhathcock
Created: 12/18/2025
Status: Merged
Merged: 12/19/2025
Merged by: @adamhathcock

Base: masterHead: adam/extract-all-test


📝 Commits (10+)

  • 220ba67 add extract all test
  • 34309f1 fmt
  • 00cfeee Fix logic to match ExtractAllEntries
  • c7010b7 fix the test targets
  • b23827a Initial plan
  • 48a2ad7 Fix ExtractAll test to use synchronous extraction methods for 7Zip archives
  • 93504cf Add sync test and attempt to fix async LZMA extraction bug
  • c790fd2 reading a single byte shouldn't be async
  • 99d355e Merge remote-tracking branch 'origin/master' into copilot/sub-pr-1076-again
  • e57e870 Implement option 2: Avoid async LZMA state corruption for 7Zip extraction

📊 Changes

5 files changed (+222 additions, -37 deletions)

View changed files

📝 FORMATS.md (+13 -1)
📝 src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs (+126 -31)
📝 src/SharpCompress/Compressors/LZMA/LzmaStream.cs (+13 -5)
📝 src/SharpCompress/Polyfills/StreamExtensions.cs (+24 -0)
tests/SharpCompress.Test/ExtractAll.cs (+46 -0)

📄 Description

Shows how do extract all. 7Zip still sucks


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/1076 **Author:** [@adamhathcock](https://github.com/adamhathcock) **Created:** 12/18/2025 **Status:** ✅ Merged **Merged:** 12/19/2025 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `adam/extract-all-test` --- ### 📝 Commits (10+) - [`220ba67`](https://github.com/adamhathcock/sharpcompress/commit/220ba67faafd0ec3d4ab7d3ba5c1ad49a5860b09) add extract all test - [`34309f1`](https://github.com/adamhathcock/sharpcompress/commit/34309f17f4b4ed8f6574852f0bc8e2a0e2c9d5ac) fmt - [`00cfeee`](https://github.com/adamhathcock/sharpcompress/commit/00cfeee56e84362e96b85ce171c35f559fce7754) Fix logic to match ExtractAllEntries - [`c7010b7`](https://github.com/adamhathcock/sharpcompress/commit/c7010b75c1f9e5618a4982b3ced6bbde686b0ae0) fix the test targets - [`b23827a`](https://github.com/adamhathcock/sharpcompress/commit/b23827a8db19e8b5fafffce1798907977b77c31a) Initial plan - [`48a2ad7`](https://github.com/adamhathcock/sharpcompress/commit/48a2ad7b5762328609786c3217d191dfae4ad326) Fix ExtractAll test to use synchronous extraction methods for 7Zip archives - [`93504cf`](https://github.com/adamhathcock/sharpcompress/commit/93504cf82f29fbbf11d863084309f392d4ef6b9d) Add sync test and attempt to fix async LZMA extraction bug - [`c790fd2`](https://github.com/adamhathcock/sharpcompress/commit/c790fd21a4a5cbb19b9f85afc3d6f5d81be68dfd) reading a single byte shouldn't be async - [`99d355e`](https://github.com/adamhathcock/sharpcompress/commit/99d355e6ca0b72e9ac455665b7b90ee8da2e24d6) Merge remote-tracking branch 'origin/master' into copilot/sub-pr-1076-again - [`e57e870`](https://github.com/adamhathcock/sharpcompress/commit/e57e87090f3538dddf9a4aff099eb35ce6f6313b) Implement option 2: Avoid async LZMA state corruption for 7Zip extraction ### 📊 Changes **5 files changed** (+222 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `FORMATS.md` (+13 -1) 📝 `src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs` (+126 -31) 📝 `src/SharpCompress/Compressors/LZMA/LzmaStream.cs` (+13 -5) 📝 `src/SharpCompress/Polyfills/StreamExtensions.cs` (+24 -0) ➕ `tests/SharpCompress.Test/ExtractAll.cs` (+46 -0) </details> ### 📄 Description Shows how do extract all. 7Zip still sucks --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:20:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1499