Skip to content

docs: dead code inventory and cleanup plan#110

Open
JustMaier wants to merge 2 commits intomainfrom
docs/dead-code-cleanup
Open

docs: dead code inventory and cleanup plan#110
JustMaier wants to merge 2 commits intomainfrom
docs/dead-code-cleanup

Conversation

@JustMaier
Copy link
Copy Markdown
Contributor

Summary

  • Inventories dead code discovered during data fix sprint (csv_ops.rs, process_wal_dump, apply_ops_batch_dump)
  • Documents the actual production dump flow vs the never-called WAL-based path
  • Cleanup plan with risk assessment per item

Do not merge urgently — this is a handoff doc for future cleanup work.

🤖 Generated with Claude Code

JustMaier and others added 2 commits March 31, 2026 10:22
Inventories unused code paths discovered during data fix sprint:
csv_ops.rs (entire module), process_wal_dump, apply_ops_batch_dump.
Documents the actual production dump flow vs the dead WAL-based path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Added findings from 3 parallel scouts:
- 5 dead modules (field_handler, preset, shard_store_migrate/doc, csv_ops)
- 10 dead parse functions in copy_queries.rs
- 3 dead functions in loader.rs
- Nearly-dead backfill subsystem and Ingester wrapper
- Estimated ~2-3K lines removable
- Confirmed bitmap_fs.rs and unified_cache.rs are LIVE (not dead)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant