Repository navigation
deps/fix: roll in zipfast::zipview (#849) and queue/pacing/pressure/docs fixes - #850
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: 679f57b456
ℹ️ 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".
679f57b to
8fe4a0d
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…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.
8fe4a0d to
2a3e077
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Rebases onto
origin/main(57ba238f2, after#845,#846,#847, and#851landed), rolls in #849 (zipfast::zipview), and applies follow-up fixes across queue locking, unpack-pacing yield, memory-pressure slot clamping, Settings documentation coverage, and Vale prose checks.Changes
zipview-to-zipfast): switchrust/src/unpack.rsandrust/src/streamrepair.rstozipfast::zipview(c7ee07dbf4c9817bb8d0dbf07684c643932a96e5), drop the archived standalonezipviewcrate (1zipviewentry inrust/Cargo.lock), and preservemain'snntp-rspin (cf5df57ac49c6709ddde86f3f7eeff49e032821dfrom#851).rust/src/qqueue.rs(perf(queue): spin-then-park queue lock and event-driven coordinator wait #845 follow-up): useOrdering::SeqCstonRawLock::try_takeCAS failure so weak memory models (ARM64) maintain the Dekker store-load ordering againstunlock().rust/src/queuecoord.rs(Give a paced download's connections to the next queued download (UnpackPacing, UnpackPacingLag, paced-to-unpack status) #846 follow-up):excluded_nzbs(conn_blocked) intopick_next_articleand retry withinCoordinator::run()when a replacement download'sdesired_server_idhas no free connections.apply_pick_yield(note_unpack_yield/clear_unpack_yield) untilconn_ptr != 0, preventing false unpacing when a pick cannot start.yield_pacedpass 1 insequential_active_prioritysoPostStrategy=sequentialdoes not block queued downloads from taking spare connections (#[cfg(test)]gatedget_next_article+ unit testpaced_download_falls_back_under_sequential_when_replacement_desired_server_is_excluded).rust/src/articledl.rs(Memory pressure: throttle on our own memory, shed the cache before slots #847 follow-up): immediately clampMEM_SLOT_TIERdown when(slot_current as i32) > next_tier(resettingMEM_SLOT_GATE) and fall back todecision.cache_sourcewhendecision.slot_source == PressureSource::None.site/build.py,site/check.py,site/content/*.md(Give a paced download's connections to the next queued download (UnpackPacing, UnpackPacingLag, paced-to-unpack status) #846 docs/Vale follow-up): validate every option inwebui/config.jsLAYOUTandOPTION_REQUIREShas a renderedoptions.htmlanchor, and resolve ValeGoogle.Quotes/Google.OxfordCommafailures insite/content/api.mdandsite/content/settings-processing.md.Working history:
origin/backup/rollup-pr-845-846-847-849-2a3e0773.Verification (
2a3e0773f6d58bf6c6755895cfbe9bb2d1d6ddf8)aarch64-apple-darwin):CARGO_BUILD_JOBS=3 RUSTFLAGS="-D warnings" cargo check --locked --all-targets: exit0CARGO_BUILD_JOBS=3 RUSTFLAGS="-D warnings" cargo test --locked --tests -- --test-threads=3:2082 passed; 0 failed; 7 ignored(lib.rs),3 passed,44 passed(dupepurge/journal.rs),50 passed(dupepurge/planner.rs),1 passed; 1 ignored(isa_tier.rs),10 passed(parchecker.rs),1 passed(renameanalyzer_allocations.rs)CARGO_BUILD_JOBS=3 just test-daemon 3:All 10 daemon checks passed!build/debug/rustyget):xpackzip,xdecomp_zip,pressureowncgroup,pressurehostcacheonly(1 / 1 scenarios passedeach);test_streaming_par_metrics.py(Ran 12 tests in 0.004s — OK)x86_64-unknown-linux-gnu):CARGO_BUILD_JOBS=3 RUSTFLAGS="-D warnings" cargo check --locked --all-targets: exit0CARGO_BUILD_JOBS=3 RUSTFLAGS="-D warnings" cargo test --locked --tests -- --test-threads=3:2082 passed; 0 failed; 7 ignored(lib.rs),3 passed,44 passed,50 passed,1 passed; 1 ignored,10 passed,1 passedCARGO_BUILD_JOBS=3 just test-daemon 3:All 10 daemon checks passed!build/debug/rustyget):xpackzip,xdecomp_zip,pressureowncgroup,pressurehostcacheonly(1 / 1 scenarios passedeach)vale --minAlertLevel=warning --output=line README.md site/content:Vale PASSsite/tools/check-settings-captures.py:Settings captures: 17 sections, 26 pictures, source hashes and guide links PASSsite/build.py --out build/site && site/check.py build/site:built 24 pages,checked 25 pages: 0 problemsnode tests/webui/dual-progress.js:Dual progress checks (160): PASSpython3 -B -m unittest discover -s scripts/nativeness/tests:Ran 23 tests in 0.019s — OK