[ci] fmt debt in 0907fca breaks cargo fmt --check on development #6
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_matrixchat#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What
cargo fmt --checkfails ondevelopmentafter commit0907fca(fix(logging): add herolib_core::logger HeroTracingLayer to all binaries).Files needing format:
crates/hero_matrixchat/src/main.rscrates/hero_matrixchat_server/src/main.rscrates/hero_matrixchat_ui/src/main.rsDiff is mechanical (use ordering, tracing_subscriber import grouping, struct constructor formatting).
Why this surfaced now
The new
.forgejo/workflows/build-linux.yamlintroduced in #5 iscargo buildonly and does NOT enforce fmt — but the existingci.ymldoes, and started failing on every commit since0907fca.Fix
One-liner:
Workspace pre-merge gate
Per lhumina_code/home#204 (and
feedback_workspace_build_before_merge.mdworkspace memory) — every non-trivial PR should passcargo fmt --check && cargo clippy --workspace --all-targets -- -D warnings && cargo build --workspace --releaselocally before merge.Filed by mik-tf during session 58 (cluster E port).
Signed-off-by: mik-tf