[ci] clippy hygiene cleanup — workspace not -D warnings clean #28
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_foundry#28
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?
Context
Surfaced during Phase 2 cluster A propagation (session 56). After running the workspace pre-merge gate
cargo clippy --workspace --all-targets -- -D warnings, ~30 pre-existing warnings turn into errors.This issue mirrors hero_biz#22 which captured the same situation in session 55.
The
--from-ciPR for hero_foundry deferred this to keep scope focused on the CI release pipeline. Workspacecargo build --workspace --releaseis green; it's the linter strictness that needs cleanup.Categories
redundant_closure—crates/hero_foundry_web/src/routes.rs(Vec::new() / Vec::::new() inuse_signal)collapsible_if/collapsible_else_if— acrosshero_foundry_core,hero_foundry_server,hero_foundry_ui,hero_foundryparse_json_listing(webdav_client/lib.rs:689),delete_branch_internal/delete_tag_internal(core/repo/mod.rs:702),RepoInfostruct (web/types.rs:42), several never-read fieldsmanual_is_multiple_of— core/sync/quic.rs:625unwrap_or_else→unwrap_or_default— server/state.rs:278, ui/main.rs:1186&String::new()→""— core/repo/builders/merge.rs:471unnecessary use of get(hash).is_some()→contains_key— core/repo/builders/merge.rs:404manual_deref— core/sync/quic.rs:530length_comparison_to_one— server/tests/two_server_sync_tests.rs:92unexpected cfg condition value: server— server/tests/openrpc_tests.rs:10merge_branches8-arg already addressed inline with#[allow(clippy::too_many_arguments)]Acceptance
cargo clippy --workspace --all-targets -- -D warningsexits 0 ondevelopment.Out of scope
Functional changes; the warnings are mechanical cleanup only.
mik-tf referenced this issue from lhumina_code/hero_demo2026-05-04 22:40:09 +00:00