Repository navigation
build: require patched Tokio across the workspace - #1481
Conversation
Signed-off-by: Will Killian <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
WalkthroughThe workspace now declares Tokio 1.53.3 with default features disabled. Rust package manifests use the workspace dependency and retain their existing feature lists. ChangesTokio dependency update
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk: ⚪ Minimal · up to
|
License DiffCompared against Lockfile license changesLockfile License ChangesRustAdded
Removed
Updated/Changed
|
#### Overview Resolve the Python, npm, and Rust dependency audit failures on `release/0.10` using the same package versions as #1490 and the Tokio fix already present in its base from #1481. - [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license. - [x] I searched existing issues and open pull requests, and this does not duplicate existing work. #### Details - Update filelock to 4.2.4 and virtualenv to 21.14.13. This release branch has no LiteLLM dependency, so the filelock override from #1490 is unnecessary. - Update body-parser to 2.4.0, fast-uri to 3.1.9, qs to 6.16.1, undici to 8.12.2, and zod to 4.6.6; preserve the OpenClaw version with the same overrides as #1490. - Require Tokio 1.53.3 across all workspace consumers, preserving existing features and default-feature settings, to resolve RUSTSEC-2026-0386 for workspace builds and downstream consumers. - Regenerate the Python, Node.js, and Rust attributions with the repository workflows, using CI-pinned cargo-about 0.9.1 for Rust. Validation: - `uv audit --locked`, `npm audit --audit-level=low`, and `cargo deny --locked --all-features check` passed. - `NEMO_RELAY_LOG_STDERR_FORMAT=human just test-rust`: 5,942 passed, one skipped. - Repository pre-commit hooks passed, including targeted rechecks after attribution generation. Checks covered lockfile freshness, FFI header synchronization, benchmark fmt/clippy, license policy, documentation links, and generated attributions. - Verified the seven updated Python/npm package records match #1490 exactly, and all 20 Tokio dependency entries require `^1.53.3` with unchanged feature settings. - Separate Python, Node.js, and Go suites were not run; binding APIs and implementations are unchanged. #### Where should the reviewer start? Start with `package.json` and the Python/npm lockfile changes for #1490 parity, then `Cargo.toml` and Tokio dependency inheritance for the #1481 backport. #### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to) - Relates to: none - Backports dependency updates from #1490 and the Tokio security fix from #1481 to `release/0.10`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Updated third-party dependency versions, including Tokio and several JavaScript and Python packages. * Standardized Tokio version management across the project while preserving existing feature selections. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Will Killian <[email protected]>
Overview
Resolve the
cargo denyfailure for RUSTSEC-2026-0386, which reports I/O unsoundness in Tokio'sAsyncFdconstructors. Require patched Tokio versions for downstream consumers as well as locked workspace builds.Details
[workspace.dependencies]with a minimum version of1.53.3. A1.51.6lower bound would still permit affected 1.52.x and early 1.53.x releases.Validation:
NEMO_RELAY_LOG_STDERR_FORMAT=human just test-rust— 6,461 passed (one passed on retry), four skipped.uv run pre-commit run— passed, including the benchmark clippy check, dependency audits, lockfile freshness, and generated Rust attributions.cargo deny --locked --all-features check— passed with CI's cargo-deny 0.19.1.^1.53.3and retain their prior feature settings.The initial Rust run inherited
NEMO_RELAY_LOG_STDERR_FORMAT=jsonlfrom the shell, causing a CLI assertion that expects human log output to fail. The final run explicitly selects the expected format.Where should the reviewer start?
Start with
[workspace.dependencies]inCargo.toml, thencrates/core/Cargo.tomlfor dependency inheritance and feature selection.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit