Repository navigation
deps: use zipfast::zipview, drop the archived zipview crate - #849
Merged
Merged
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8232183b9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
xbmc4lyfe
force-pushed
the
zipview-to-zipfast
branch
2 times, most recently
from
December 5, 2026 17:30
8f052bc to
fe3221e
Compare
xbmc4lyfe
added a commit
that referenced
this pull request
Dec 5, 2026
#846, #849) Rebases the remaining open PRs cleanly onto main (f0fb231, after #847 landed) with proactive fixes and edge-case hardening: - #845 (queue-lock-coord): spin-then-park RawLock and event-driven coordinator run-loop wait on wait_lock, with SeqCst CAS failure ordering on RawLock::try_take for weak memory models. - #846 (unpack-pacing-queue): yield a paced download's connections to other queued downloads while exempting the active unpack volume, UnpackPacing / UnpackPacingLag options, listgroups fields, WebUI dual-progress badge/tests, plus: - site/build.py and site/check.py validation across LAYOUT and OPTION_REQUIRES in webui/config.js so every exposed option has an options.html anchor; - Vale prose fixes in site/content/api.md and settings-processing.md; - queuecoord::pick_next_article desired-server exclusion retry and deferred apply_pick_yield after connection acquisition, plus PostStrategy=sequential exemption for unpack-paced downloads. - Follow-up fix for #847 (rust/src/articledl.rs): enforce immediate MEM_SLOT_TIER <= MEM_TIER clamp on step-down (resetting MEM_SLOT_GATE) and fall back to decision.cache_source for source attribution. - #849 (zipview-to-zipfast): switch unpack.rs and streamrepair.rs to zipfast::zipview (c7ee07db) and drop the standalone zipview crate.
xbmc4lyfe
added a commit
that referenced
this pull request
Dec 5, 2026
zipview moved into zipfast as crates/zipview and is re-exported as zipfast::zipview. The standalone xbmc4lyfe/zipview repo is archived and its pinned copy (2c3d73a0) lacked later fixes, including authenticated full WinZip AES reads. unpack.rs and streamrepair.rs now import zipfast::zipview, the separate dependency is removed, and zipfast moves fa031ee7 -> c7ee07db (restart and correctness fixes). One zipview copy is built instead of two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xbmc4lyfe
force-pushed
the
zipview-to-zipfast
branch
from
December 5, 2026 19:13
fe3221e to
8421595
Compare
xbmc4lyfe
added a commit
that referenced
this pull request
Dec 5, 2026
zipview moved into zipfast as crates/zipview and is re-exported as zipfast::zipview. The standalone xbmc4lyfe/zipview repo is archived and its pinned copy (2c3d73a0) lacked later fixes, including authenticated full WinZip AES reads. unpack.rs and streamrepair.rs now import zipfast::zipview, the separate dependency is removed, and zipfast moves fa031ee7 -> c7ee07db (restart and correctness fixes). One zipview copy is built instead of two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xbmc4lyfe
force-pushed
the
zipview-to-zipfast
branch
from
December 5, 2026 20:32
8421595 to
2bf472d
Compare
zipview moved into zipfast as crates/zipview and is re-exported as zipfast::zipview. The standalone xbmc4lyfe/zipview repo is archived and its pinned copy (2c3d73a0) lacked later fixes, including authenticated full WinZip AES reads. unpack.rs and streamrepair.rs now import zipfast::zipview, the separate dependency is removed, and zipfast moves fa031ee7 -> c7ee07db (restart and correctness fixes). One zipview copy is built instead of two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xbmc4lyfe
force-pushed
the
zipview-to-zipfast
branch
from
December 5, 2026 21:24
2bf472d to
5bbd04b
Compare
xbmc4lyfe
added a commit
that referenced
this pull request
Dec 5, 2026
…ocs fixes Rebases PR #850 cleanly onto main (57ba238, after #845, #846, #847, and #851 landed), rolls in PR #849, and includes follow-up hardening and documentation validation fixes: - #849 (zipview-to-zipfast): switch unpack.rs and streamrepair.rs to zipfast::zipview (c7ee07dbf4c9817bb8d0dbf07684c643932a96e5) and drop the standalone archived zipview crate (keeping #851's nntp-rs pin cf5df57ac49c6709ddde86f3f7eeff49e032821d; 1 zipview package in Cargo.lock). - #845 follow-up (rust/src/qqueue.rs): use Ordering::SeqCst on RawLock::try_take CAS failure so ARM64 / weak memory models keep the Dekker store-load pair against unlock(). - #846 follow-up (rust/src/queuecoord.rs, site/, site/content/): - Update site/build.py (validate_config_js_options) and site/check.py to verify every option in webui/config.js LAYOUT and OPTION_REQUIRES has an options.html anchor; - Fix Vale Google.Quotes and Google.OxfordComma findings in site/content/api.md and site/content/settings-processing.md; - Update queuecoord::pick_next_article and Coordinator::run() (excluded_nzbs retry, deferred apply_pick_yield after conn_ptr != 0, and PostStrategy=sequential exemption for unpack-paced downloads) so desired_server_id exhaustion skips to other work or falls back cleanly without falsely unpacing the yielding download. - #847 follow-up (rust/src/articledl.rs): clamp MEM_SLOT_TIER down immediately whenever (slot_current as i32) > next_tier (resetting MEM_SLOT_GATE) and fall back to decision.cache_source for attribution.
xbmc4lyfe
added a commit
that referenced
this pull request
Dec 5, 2026
…s checks (#850) Applies follow-up hardening, documentation validation, and Vale fixes after #845, #846, #847, and #849 landed in main: - rust/src/qqueue.rs: use Ordering::SeqCst on RawLock::try_take CAS failure for weak memory models (ARM64). - rust/src/queuecoord.rs: retry pick_next_article around desired_server_id exhaustion via excluded_nzbs, defer apply_pick_yield until conn_ptr != 0, and exempt unpack-paced downloads during yield_paced pass 1 in sequential_active_priority (with unit test coverage). - rust/src/articledl.rs: clamp MEM_SLOT_TIER down immediately whenever (slot_current as i32) > next_tier (resetting MEM_SLOT_GATE) and fall back to decision.cache_source for source attribution. - site/build.py, site/check.py: validate every option in webui/config.js LAYOUT and OPTION_REQUIRES has an options.html anchor. - site/content/api.md, site/content/settings-processing.md: fix Vale Google.Quotes and Google.OxfordComma findings. Working history: origin/backup/rollup-pr-845-846-847-849-2a3e0773.
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.
Requested by Engineer · project thread
What
zipviewgit dependency (xbmc4lyfe/zipviewrev2c3d73a0). That repo is archived. zipview now lives in zipfast ascrates/zipviewand is re-exported aszipfast::zipview.rust/src/unpack.rsandrust/src/streamrepair.rsnowuse zipfast::zipview;. All other code is unchanged.fa031ee7->c7ee07db(current main). The commits in between are restart and correctness fixes: ZipCrypto and Deflate mid-member restart, 7zAES-over-Copy restart, RAR history zero-fill, and strict RAR CRC/PPMd.Cargo.lockheld two zipview copies (the archived one and zipfast's). Now it has one. The old copy lacked later fixes, including1d8609b"Authenticate full zipview WinZip AES reads".nntp-rs is untouched (main pins it, now cf5df57 via #851).
API check
The public API of the old zipview matches
zipfast/crates/zipview:ZipReader,ZipIndex,ZipIndexOpener,PasswordCheck,zip64_sizes, and everyZipReadErrorvariant and Display string. The only difference isZipIndexOpener::finish(mut self)becomingfinish(self), which callers cannot see. The("zipview", "0.1.0")entry insystemhealth.rsstill matchesCargo.lock, since zipview stays linked through zipfast.Validation (head
5bbd04b7ea543fdb9f139b530d9d500a260f1b43, rebased on main57ba238f)The rg-farm build farm on m4air is down:
rg-farm statusreports every builder unreachable (ssh timeout). Linux x86_64 and arm64 are therefore covered by this PR'sbuildworkflow. macOS was run locally on Apple silicon:(cd rust && RUSTFLAGS="-D warnings" cargo nextest run --retries 1):Summary [ 75.019s] 2190 tests run: 2190 passed, 8 skipped(no retries)CARGO_BUILD_JOBS=8 just test-daemon 8:All 10 daemon checks passed!tests/functional/dupefallback/harness.py --target local):[PASS] xpackzip (status=SUCCESS/HEALTH recovered=2 repaired=1 integrity=True)[PASS] xdecomp_zip (status=SUCCESS/HEALTH recovered=2 decompressed_logs=1 integrity=True)xcrypt_encplainwas skipped because the Pythoncryptographymodule is not installed here.Review: a clean-room review of this diff came back g2g.
Deployment: this is a dependency-only change. It ships with the next redeploy of
:6790, which the coordinator does once the parallel PRs land. This PR does not deploy anything.🤖 Generated with Claude Code