Repository navigation
fix(zip): share desktop and APK framing and preserve bounded ZIP64 views - #12157
Merged
Merged
Conversation
Contributor
[Medium impact] The reviewed update appears safe to merge. SummaryThe PR shares ZIP framing facts across desktop, exported Python, and APK readers, preserves exact counts in bounded ZIP64 views, and recognizes empty archives.
Reviews (3) · Last reviewed commit: "test(zip): inherit the portable ZIP coun..." · Reviewed by Greptile |
11 tasks
morluto
marked this pull request as ready for review
November 19, 2026 02:55
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
* fix(desktop): recognize empty ZIP state views (cherry picked from commit 263b25b) * fix(desktop): reuse empty ZIP admission for wrapped documents * refactor(zip): share the local-header signature with desktop state --------- Co-authored-by: wunianze666-netizen <[email protected]>
morluto
enabled auto-merge (squash)
November 19, 2026 03:28
This was referenced Nov 19, 2026
16 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Desktop host, generated Python, and APK readers share ZIP framing facts with the appropriate placement rules. Bounded views emit exact ZIP64 counts, honor declared ZIP64 records, and preserve Python 3.9 pairing compatibility. The merged #12163 change recognizes empty archives in desktop state views and generated verifiers, including gzip-wrapped ZIPs.
Fixes #12137
Fixes #12146
Refs #9173, #11759, #9336, and #12163.
Contract and boundary impact
Reads selected ZIP/APK artifacts. Reader safety and retention bounds remain in place.
Evidence and regression coverage
Independent ZIP producers cover 65,535 and 65,536 entries, extended records, prepended archives, empty archives, and malformed metadata. Python 3.9 and 3.13 parity passed on the integrated implementation.
Validation performed
npm run check:fastandgit diff --check origin/main...HEADpassed.Author readiness
Human owner: @morluto
Before merge
type(scope): outcome.