Skip to content

fix: resolve cargo fmt + 54 clippy warnings blocking CI#663

Merged
pszymkowiak merged 1 commit intodevelopfrom
fix/clippy-fmt-warnings
Mar 17, 2026
Merged

fix: resolve cargo fmt + 54 clippy warnings blocking CI#663
pszymkowiak merged 1 commit intodevelopfrom
fix/clippy-fmt-warnings

Conversation

@pszymkowiak
Copy link
Collaborator

Summary

Test plan

  • cargo fmt --all --check — clean
  • cargo clippy --all-targets -- -D warnings — 0 warnings
  • cargo test --all — 934 passed, 0 failed

cargo fmt diffs in config.rs, git.rs, playwright_cmd.rs were failing
the fmt CI check, which cascaded to block clippy/test/security on
PRs #632, #635, #638. Also fixes all clippy warnings: dead code
annotations, iterator simplifications, assert patterns, and
unnecessary allocations.

Signed-off-by: Patrick Szymkowiak <patrick@rtk-ai.app>
Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
@pszymkowiak pszymkowiak merged commit 810d7ff into develop Mar 17, 2026
9 checks passed
ahundt added a commit to ahundt/rtk that referenced this pull request Mar 18, 2026
Merge 34 upstream commits (develop) including:
- src/trust.rs: trust boundary for project-local TOML filters
- src/git.rs: git log --oneline regression fix (user_format 4th param)
- src/git.rs: nothing-to-commit detection in commit handler
- 6 critical bug fixes: exit codes, unwrap, lazy regex (rtk-ai#626)
- src/discover/registry.rs: find/fd pipe-skip ported to token-based lexer
- cargo fmt + 54 clippy warnings fix (rtk-ai#663)
- subcommand routing fix (rtk-ai#600), output cap raise (rtk-ai#617-620)
- SQLite WAL, grep regex perf (rtk-ai#631)

Conflict resolution (6 files, 11 hunks):
- src/main.rs: kept Pipe (ours) + Trust/Untrust (upstream)
- src/git.rs: pub(crate) (ours) + user_format param (upstream)
- src/grep_cmd.rs: filter_grep_raw (ours) + context_re (upstream)
- src/init.rs: remove-then-insert upgrade path (ours)
- src/tracking.rs: merged doc comments
- src/discover/registry.rs: token-based lexer (ours) + find/fd skip (upstream)
- src/tee.rs: removed duplicate derive(Default)
- src/pipe_cmd.rs: added user_format=false 4th arg

Tests: 1388 passed (was 1358), 0 failures, 6 ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant