Commit 241685a
fix(ci): Address Clippy warnings and Security Audit vulnerabilities
- Fix 'if can be collapsed into match' Clippy warnings:
- openfang-migrate/src/openclaw.rs: Replace nested if with direct assignment
- openfang-runtime/src/drivers/gemini.rs: Use match guard
- openfang-runtime/src/drivers/openai.rs: Use match guard (2 occurrences)
- openfang-channels/src/irc.rs: Use match guard
- openfang-kernel/src/kernel.rs:3556: Use match guard
- Fix 'consider using sort_by_key' Clippy warnings:
- openfang-runtime/src/session_repair.rs: Replace sort_by with sort_by_key (2 occurrences)
- openfang-kernel/src/kernel.rs:3765: Replace sort_by with sort_by_key
- Fix 'useless_conversion' Clippy warning:
- openfang-api/src/routes.rs:6248: Remove unnecessary .into_iter() call
- Add Security Audit ignores for transitive dependencies:
- RUSTSEC-2025-0134 (new)
- RUSTSEC-2026-0049 (wasmtime-43 did not resolve it)
- RUSTSEC-2026-0097, RUSTSEC-2026-0098, RUSTSEC-2026-0099
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>1 parent 20d1a75 commit 241685a
10 files changed
Lines changed: 189 additions & 117 deletions
File tree
- .cargo
- crates
- openfang-api/src
- openfang-channels/src
- openfang-kernel/src
- openfang-migrate/src
- openfang-runtime/src
- drivers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
0 commit comments