Summary
Running cargo fmt --check on the current main branch produces 489 formatting diffs across dozens of source files in the workspace. The CI quality gate in CONTRIBUTING.md requires this check to pass before a PR can be merged.
How to Reproduce
git clone https://github.com/mofa-org/mofa.git
cd mofa
cargo fmt --check
Output:
Diff in ... lines for files across mofa-kernel, mofa-foundation, mofa-runtime, mofa-sdk, mofa-monitoring, mofa-plugins, mofa-local-llm, and others.
Expected Behaviour
cargo fmt --check exits with code 0 and produces no diffs.
Notes
cargo clippy --workspace --all-features already passes with zero warnings.
Summary
Running
cargo fmt --checkon the currentmainbranch produces 489 formatting diffs across dozens of source files in the workspace. The CI quality gate inCONTRIBUTING.mdrequires this check to pass before a PR can be merged.How to Reproduce
git clone https://github.com/mofa-org/mofa.git cd mofa cargo fmt --checkOutput:
Diff in ...lines for files acrossmofa-kernel,mofa-foundation,mofa-runtime,mofa-sdk,mofa-monitoring,mofa-plugins,mofa-local-llm, and others.Expected Behaviour
cargo fmt --checkexits with code 0 and produces no diffs.Notes
cargo clippy --workspace --all-featuresalready passes with zero warnings.