Skip to content

fix(deps): upgrade optional Candle training to 0.11.1 - #9

Closed
proffesor-for-testing wants to merge 1 commit into
ruvnet:mainfrom
proffesor-for-testing:fix/candle-0111-zip-remediation
Closed

proffesor-for-testing wants to merge 1 commit into
ruvnet:mainfrom
proffesor-for-testing:fix/candle-0111-zip-remediation

Conversation

@proffesor-for-testing

@proffesor-for-testing proffesor-for-testing commented Nov 2, 2026 •

Copy link
Copy Markdown

The optional training feature resolves Candle 0.9.2 and ZIP 7.2.0, which carries RUSTSEC-2026-0429. Upgrade candle-core/candle-nn together to official 0.11.1 and refresh the lockfile; the new resolution selects ZIP 9.2.2. No training implementation or default-feature behavior changes.

Validation on upstream main eafd7e5:

  • Rust 1.89: cargo test --locked -p ruview-swarm --features train --lib: 141 passed.
  • Related pinned RuView consumer experiment: 426 consumer tests plus140 swarm tests passed; reported separately from this current-head test.
  • Exact cargo-audit 0.22.2 comparison: upstream standalone lock has 10 findings; candidate has 6, all unchanged rustls/webpki findings. All four ZIP findings are removed. This PR does not claim the entire standalone repository is audit-clean.
  • CPU tests only. CUDA, pretrained weights and numerical equivalence are not qualified. Optional dependency upgrades include new kernel/tokenizer dependencies; this is broader than a one-function security backport.

This is the upstream prerequisite for a separately reviewed RuView dependency repair; no deployment or firmware change.

@ruvnet

ruvnet commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thanks for this, and for the careful audit write-up. Closing it because #10 (ac3a2df, merged 2026-11-10) already landed the same remediation on main:

  • main resolves candle-core/candle-nn 0.11.1 and zip 9.5.0 (this PR's lock picks zip 9.2.2), so RUSTSEC-2026-0367/-0368/-0369/-0429 are already cleared.
  • security: clear 11 RUSTSEC advisories (rustls, webpki, tokio, zip via candle 0.11) #10 also bumped rustls 0.23.43→0.23.46, rustls-webpki, webpki-root-certs and tokio 1.53.1→1.54.1. This branch's lock still has rustls 0.23.43 and tokio 1.53.1, so rebasing it would reintroduce the findings your audit listed as unchanged.
  • The only remaining difference is the exact =0.11.1 pin in Cargo.toml versus main's 0.11 range. Main's lockfile already pins 0.11.1, so the pin adds nothing.

Verified on a fresh clone of main (ac3a2df): cargo test --locked --features train --lib passed 141, cargo test --locked --lib passed 136, and cargo audit reports 0 vulnerabilities (2 allowed warnings: paste unmaintained, rustix). Main CI is green.

🤖 Generated with claude-flow

@ruvnet ruvnet closed this Nov 11, 2026
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.

2 participants