fix(sidecar): apply rustfmt to the protocol 3.0 cutover code #22
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/rustfmt-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The
Release sidecarrun for the 3.0 cutover merge (2301c57) failed. Its first Rust gate iscargo fmt --check, and two rustfmt violations rode in with theworld.rulesetcode, so the job died before it could test, build, tag, or cut a release.What
Ran
cargo fmt. Formatting only, no behavior change:main.rs— the.upsert_ruleset(...)call fits on one linestore.rs— theupsert_rulesetsignature does not, so it wraps one-param-per-lineVerification
cargo fmt --check— cleancargo test --locked— passes (0 tests, as before)Once this lands on
main, the release workflow re-runs on the push and should get past the gate. Note the changelog for the resulting release will span both commits, which is fine.Follow-up worth considering
link/has no PR-check workflow — onlyrelease.yml(push tomain),sonarqube.yml, andsync-project-tree.yml. That's why this was caught after merge instead of on PR #20/#21. A smallpr-checks.ymlrunningcargo fmt --check+cargo teston PRs intomain/edgewould stop this recurring. Happy to open that separately if wanted.AI-assisted: written with Claude Code (Claude Opus 5).