Repository navigation
Point candle-core at patched zip 9.0.3 - #353
Conversation
candle-core 0.8.4 through 0.11.0, and current candle main, require zip before 9. zip 1.1.4 is yanked and is the crate named by RUSTSEC-2026-0367, 0368, and 0369. Those advisories are patched in zip >= 9.0.0. The workspace already uses 9.0.3 for asset packs, so the patched candle-core is pinned to that same release. No audit ignore. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
third_party/candle-core stays only until candle upstream depends on zip >= 9. The distribution note, the patch comment, and the audit comment all say that. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Codex Review SummaryThis 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. |
* docs: nineteen required replay cases after #332 greybox_checkpoint, quest_ticks, and persist_replay join the compare job. README, the status pages, and the doc-lint fixture name all nineteen. The greybox golden stays b6a9d5a2c5da28a6. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * style: rustfmt the nineteen-case lint assertion The pull-request gate failed cargo fmt on the new length check. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: vendored candle-core pins zip 9.0.3 #353 replaces yanked zip 1.1.4 with third_party/candle-core pinned to zip 9.0.3. There is no audit ignore for RUSTSEC-2026-0367, 0368, or 0369. #324 stays open. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: #324 is closed by the zip 9.0.3 vendor GitHub shows #324 closed. The fix is the vendored candle-core pin in #353. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Description
cargo auditfails every pull request onzip1.1.4: yanked, and named by RUSTSEC-2026-0367, RUSTSEC-2026-0368, and RUSTSEC-2026-0369. Those three are patched inzip >= 9.0.0.candle-core0.8.4 is the only parent. Its requirement iszip1.1.1 with default features off. Published candle through 0.11.0, and current candle main, still depend onzip8.6.0, which is also below the patched line. There is no crates.io candle release to bump onto.third_party/candle-coreis crates.io 0.8.4 with the dependency pinned to=9.0.3, the same release the workspace already uses for asset packs. The read path now treats entry names asResult<Cow<str>>. npz writes useSimpleFileOptionsandCompressionMethod::Stored, which is what 0.8.4 wrote.Cargo.lockno longer containszip1.1.4.zip9.0.3's checksum is unchanged. No audit ignore was added.cargo auditexits 0. The remaining note is a yanked warning forinout0.2.3, which was already a warning and is not one of these three advisories.Local checks:
cargo check -p astraweave-llm --features phi3 --lockedandcargo check -p astraweave-embeddings --features candle --lockedfinished.npz_roundtrip_stored_entriespassed against zip 9.0.3. Replay hashes are not touched.Why
third_party/candle-coreexistsCandle upstream does not yet depend on
zip >= 9, so the yanked 1.1.4 crate cannot be removed by a version bump. This directory is crates.iocandle-core0.8.4 with that one dependency pinned to the workspace'szip9.0.3. Deletethird_party/candle-coreand the[patch.crates-io]entry once candle upstream depends onzip >= 9. The same note is inCargo.toml,.cargo/audit.toml, anddocs/current/ARAVATH_DISTRIBUTION.md.Type of change
Security Considerations
Checklist