Repository navigation
fix(ci): clear repo-wide rustfmt + clippy drift in 8 crates (re-land of #129 minus 2 hunks) - #156
KooshaPari wants to merge 1 commit into
Conversation
Re-land the rustfmt and clippy drift cleanup from PR #129, dropping the two defective hunks for files owned by separate PRs: - crates/jcode-tui/src/tui/mod.rs (kv_cache_problem re-export reorder): owned by PR #150 fix/tui-cache-expected-warm-unused-import. - tests/cli_exit_status.rs (CARGO_BIN_EXE env! swap): owned by PR #152 fix/cli-exit-status-kcode-bin, which uses CARGO_BIN_EXE_kcode and asserts the KCode-specific env/path semantics. Files touched (8): - crates/jcode-app-core/examples/print_build_info.rs (rustfmt) - crates/jcode-base/tests/mcp_xj07_failure_modes.rs (rustfmt) - crates/jcode-core/examples/smoke.rs (rustfmt) - crates/jcode-core/src/stdin_detect_tests.rs (rustfmt: collapse to one line) - crates/jcode-harness-api-server/src/translate_tests.rs (rustfmt: drops trailing assert!() indentation and bracket form) - crates/jcode-harness-api/src/sockets.rs (clippy collapsible_if -> let chains) - crates/jcode-herdr/examples/round_trip_state.rs (rustfmt: use sort order) - crates/jcode-tui-mermaid/src/lib.rs (clippy empty_line_after_doc_comment) No behavioural change; rustfmt + clippy lints only. tx-agent: jcode tx-validated: lint tx-task: ci-stabilization-2026-10-19 tx-scope: jcode-app-core,jcode-base,jcode-core,jcode-harness-api-server,jcode-harness-api,jcode-herdr,jcode-tui-mermaid tx-intent: close repo-wide rustfmt + clippy drift surfaced by CI Format and Quality Guardrails gates Closes #NEW_FOR_PR_A
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 43 minutes. View limit details
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 |
CodeAnt Nitpicks2 code suggestions1.
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge OverviewPR #156 is a clean, mechanical rustfmt + clippy drift cleanup across 8 crates (re-land of #129 minus the two hunks owned by #150 and #152). No behavioral change; formatting and import ordering only. Files Reviewed (8 files)
No compilation, clippy, test, or security issues introduced by the changed lines. Note: CodeAnt previously flagged a pre-existing Reviewed by free · Input: 36.4K · Output: 8.2K · Cached: 69.4K |
|
Closing as already landed. Evidence: The repo-wide rustfmt/clippy drift this addressed has since been cleared by the merged CI-fix wave (#190, #194 Reopen if any of the 8 files regress. |
User description
Re-land the rustfmt + clippy drift cleanup from #129 as a clean fix-forward directly on master, dropping the two defective hunks:
crates/jcode-tui/src/tui/mod.rs(kv_cache_problem re-export reorder): owned by fix(jcode-tui): gate cache_expected_warm re-export behind #[cfg(test)] #150fix/tui-cache-expected-warm-unused-import, which both reorders the same block AND gatescache_expected_warmbehind#[cfg(test)].tests/cli_exit_status.rs(env! macro swap): owned by fix(tests): use CARGO_BIN_EXE_kcode in cli_exit_status.rs #152fix/cli-exit-status-kcode-bin.CARGO_BIN_EXE_*is a compile-time macro sostd::env::var("CARGO_BIN_EXE_jcode")would panic at runtime; PR fix(tests): use CARGO_BIN_EXE_kcode in cli_exit_status.rs #152 usesCARGO_BIN_EXE_kcodeand adds KCode-specific assertions.Files touched (8):
No behavioural change; rustfmt + clippy lints only.
cargo fmt --all -- --checkagainst this branch shows drift ONLY incrates/jcode-tui/src/tui/mod.rs, which is intentionally excluded (this branch does not touch that file). The remaining drift on master is what #150 closes.Closes #153.
CodeAnt-AI Description
Resolve Rust formatting and lint check failures
What Changed
Impact
✅ Passing CI formatting checks✅ Passing CI lint checks💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.