chore: delete dead code approved from the PR #166 sweep #169
Reference in New Issue
Block a user
Delete Branch "chore/dead-code-removals"
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?
Removes the three items the PR #166 dead-code sweep left pending user decision (all approved):
WinCascadePlugin— never registered anywhere;handle_win_cascadeinAnimationPluginis the live win cascade and builds its scatter targets inline. The plugin's helpers (win_scatter_targets,cascade_delay,WIN_CASCADE_INTERVAL_SECS) had no remaining callers outside their own tests, so they go with it.SyncCompleteEvent— written twice by the pull-completion system, read by nothing (UI pollsSyncStatusResource). Removed the event, its registration, and both write sites; the merged-state persistence and status updates are unchanged.solitaire_sync::ApiError— serialized by neither client nor server. Also dropped themerge_atcrate-root re-export (merge::merge_atitself stays;mergeuses it internally).ARCHITECTURE.md updated (crate inventory, sync-flow diagram, event list). Net −202 lines.
cargo test --workspaceandcargo clippy --workspace -- -D warningsare clean.🤖 Generated with Claude Code