Repository navigation
fix(ci): unblock Rust workspace Clippy checks - #182269
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
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. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 25, 2026
…limit (openclaw#182269) Split signed-connect field preservation and invalid-manifest rejection into focused integration tests. Preserve all 12 cases and assertions with shared local setup. The protocol-v5 coverage in 18900ac (openclaw#182109) grew the combined test past the 100-line Clippy limit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes the Rust workspace CI check failing on main and PRs because one signed-connect integration test exceeds Clippy's 100-line limit. This is a maintainer-requested red-main repair.
User Impact
No user-visible behavior change. Rust workspace checks can complete without weakening lint policy or test assertions.
Why This Change Was Made
Split product-field preservation and invalid-manifest rejection into focused tests, sharing the signed envelope and loopback WebSocket setup in this test file. All 12 cases and all six original assertion expressions are preserved. No production code, dependencies, Clippy configuration, or lint allowances change.
git log -Lidentifies 6f88c26dcf823a6d5c99a6053316829edc1a6512 (#182109) as the first-bad change: protocol-v5 compatibility coverage grew the function from 84 to 113 source lines, counted by Clippy as 111/100. The two focused tests are now 52 and 23 source lines.Evidence
Base:
9b3bf2295c2d2b17b8330f459d3bc461577f17e7. The reported failed job is reproduced locally.node_session.rs:1105: this function has too many lines (111/100); passes after the change with exit 0.node_sessionsuite: 10 passed before → 11 passed after, no failures or ignored tests. Test execution is 0.02 s in both runs; the warm post-change command compiled in 2.38 s. CI timing is pending.git diff --checkpass.Commands from the repository root, using the workflow's Rust 1.99.0 toolchain:
cargo +1.99.0 clippy --manifest-path crates/Cargo.toml --workspace --locked --all-targets -- -D warnings cargo +1.99.0 test --manifest-path crates/Cargo.toml -p openclaw-node-host --test node_session --locked cargo +1.99.0 fmt --manifest-path crates/Cargo.toml --all cargo +1.99.0 fmt --manifest-path crates/Cargo.toml --all -- --check git diff --checkLocally,
rustup run 1.99.0 cargo ...selected the same toolchain because Homebrew's standalone Cargo does not process the+1.99.0selector. Cargo caches, build output, and the toolchain were isolated outside the checkout on the external volume.