chore: remove dead code and cleanup unused exports (592 lines) - #513
Conversation
- Remove unused vitest dependency, add missing @semantic-release/github - Remove 19 unused exports from tests/helpers/bun.ts (322 lines deleted) - Remove internal exports in state.ts (readState, writeState) - Remove unused interface fields in auto-compact.ts and session-start.ts - Update test_utils.bash to use consolidated plugin structure paths
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughUpdates package.json test script from vitest to bash runner and adds semantic-release GitHub dependency. Removes tool_name and transcript_path fields from suggest-compacting module interfaces, makes readState and writeState functions non-exported. Consolidates file discovery paths in test utilities from plugins/* to .claude-plugin/* structure and eliminates numerous exported test helpers related to marketplace, hooks, and assertions from test utilities. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
vitestdependency, add missing@semantic-release/githubtests/helpers/bun.ts(322 lines deleted)state.ts(readState,writeState)auto-compact.tsandsession-start.tstest_utils.bashto use consolidated plugin structure pathsChanges
package.jsontests/helpers/bun.tssrc/suggest-compacting/lib/state.tssrc/suggest-compacting/auto-compact.tssrc/suggest-compacting/session-start.tstests/helpers/test_utils.bashTest plan
Summary by CodeRabbit
Chores
Refactor