Repository navigation
Conversation
Move nine CLI and daemon modules to mod.rs without changing their behaviour. Adjust the relative test-module paths and refactor-helper include path so the moved modules resolve the same source files. Keep the developer guide's references aligned with the new locations.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Reviewer's GuideThis structural PR converts nine self-named CLI and daemon Rust modules to directory-based File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Gates Passed
6 Quality Gates Passed
See analysis details in CodeScene
Absence of Expected Change Pattern
- weaver/crates/weaverd/src/dispatch/act/refactor/refactor_helpers.rs is usually changed with: weaver/crates/weaverd/src/dispatch/act/refactor/contract_tests.rs
Quality Gate Profile: Pay Down Tech Debt
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
Summary
This branch moves nine self-named CLI and daemon modules into
mod.rsfiles so the later lint-configuration layer can enableself_named_module_fileswithout changing runtime or test behaviour. It follows the spelling layer, PR #305; source-level lint-fix waves and enforcement follow this layer.Review walkthrough
../. The other daemon moves preserve their contents.Validation
cargo metadata --offline --no-deps --format-version 1: 19 workspace members and 47 targets, matching PR Normalize Rust spelling across the workspace #305's head.cargo test --config tools/dev-fast/config.toml -p weaver-cli -p weaverd: 197 CLI and 290 daemon tests passed; doctests passed.make check-fmt,make spelling,make lint,make typecheck,make test,make markdownlint,make nixie, andmake test-workflow-contracts: all passed sequentially. The full suite passed 1,585 tests with four skipped; 187 workflow contracts passed. The lint gate includes Whitaker, and Markdown lint reported zero errors.git diff --check: passed. An independent Scrutineer reviewed path resolution, test discovery, content preservation, and documentation.Notes
The layer is based on PR #305's exact head
d96dc91c7ed153f6427ce43851b00990281fc07fand contains one structural commit. Its own hosted CI must still run. The ancestor train has a known Ubuntu 22.04 Whitaker installer binary incompatibility that can stop hosted CI before lint, workflow contracts, and coverage; the installer repair is tracked separately. This branch does not enable the final lint tables or claim those blocked hosted checks passed.References
Summary by Sourcery
Reorganize self-named Rust modules into directory-based layouts to prepare the codebase for stricter module-file linting without changing runtime behavior.
Enhancements:
mod.rslayouts while preserving behavior and test coverage.Documentation:
Tests: