[clippy] hero_editor strict pre-merge gate has pre-existing debt #7

Open
opened 2026-05-05 05:58:25 +00:00 by mik-tf · 0 comments
Owner

cargo clippy --workspace --all-targets -- -D warnings currently fails on development with 7+ errors. Pre-existing debt accumulated through refactors. crates/hero_editor_examples/examples/health.rs:14 calls health_raw which no longer exists on the SDK. crates/hero_editor_examples/examples/basic_usage.rs has unused imports/variable; example body never wired up to actual SDK calls. crates/hero_editor_ui/src/main.rs has unused import any, unused field content_dir, dead structs PathQuery/FileInfo/ApiResponse, dead function validate_path. make check test (the CI gate) still passes. Fix is mechanical: rename SDK call site, delete dead code, drop unused imports. Mirrors deferral pattern from hero_biz#22 and hero_foundry#28. Filed during D-05 ONNX cross-compile session 60.

cargo clippy --workspace --all-targets -- -D warnings currently fails on development with 7+ errors. Pre-existing debt accumulated through refactors. crates/hero_editor_examples/examples/health.rs:14 calls health_raw which no longer exists on the SDK. crates/hero_editor_examples/examples/basic_usage.rs has unused imports/variable; example body never wired up to actual SDK calls. crates/hero_editor_ui/src/main.rs has unused import any, unused field content_dir, dead structs PathQuery/FileInfo/ApiResponse, dead function validate_path. make check test (the CI gate) still passes. Fix is mechanical: rename SDK call site, delete dead code, drop unused imports. Mirrors deferral pattern from hero_biz#22 and hero_foundry#28. Filed during D-05 ONNX cross-compile session 60.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_editor#7
No description provided.