fix(ci): cargo fmt + LOC gate fixes for #813 async migration regressions#825
Conversation
The #813 full-async migration landed via admin-merge with two non-blocking-pre-merge regressions: 1. **Formatting** — 21 files needed cargo fmt after the wide-ranging async/.await edits. Ran 'soldr cargo fmt --all'. 2. **LOC Gate (1000 LOC limit)** — two files crossed the limit: - websockets.rs (1133 LOC) — extracted the inline #[cfg(test)] mod tests block to websockets_tests.rs via #[path] mod, dropping the main file to 853 LOC. - manager.rs (1003 LOC) — condensed the historical strategy comment to a one-liner pointer to docs/architecture/serial.md, dropping to 989 LOC. LPC checksum-mismatch failures on main (LPCXpresso845-MAX, LPC804) are a pre-existing infra issue unrelated to #813 and are not addressed here. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (24)
📝 WalkthroughWalkthroughBOM characters are removed from doc comment lines across multiple crates, and numerous call sites are reformatted (line wrapping, single-line consolidation) without logic changes. WebSocket tests are extracted from an inline module into a separate ChangesFormatting, BOM Removal, and Minor Functional Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Release the #813 full-async tokio runtime migration. The work landed across PR #823 (the migration itself, admin-merged), #824 (the local Docker Linux verify infra), and #825 (cargo fmt + LOC gate fixes for the migration's wide-ranging edits). This is the first release on the unified async runtime — every per-TU compile, every per-platform deploy, every subprocess invocation now drives through the daemon's single tokio runtime, making tokio-console visibility complete and removing the rayon / std::thread::scope hybrid that the migration replaced. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Two non-blocking-pre-merge regressions surfaced on main after #823 (full-async tokio migration) landed:
cargo fmtafter the wide-rangingasync/.awaitedits.websockets.rs(1133 LOC) → extracted the inline#[cfg(test)] mod testsblock towebsockets_tests.rsvia#[path]mod, dropping the main file to 853 LOC.manager.rs(1003 LOC) → condensed the historical strategy comment to a one-liner pointer todocs/architecture/serial.md, dropping to 989 LOC.LPC checksum-mismatch failures on main (
LPCXpresso845-MAX,LPC804) are a pre-existing infra issue unrelated to #813 and are not addressed here.Test plan
soldr cargo fmt --all -- --check(clean)soldr cargo check --workspace --all-targetssoldr cargo test -p fbuild-daemon --lib(182 passed) — confirms the externalized tests module still picks up the same test setwc -lconfirms both touched files are under 1000🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Documentation