Skip to content

Remove dead code from CLI package handlers#6

Draft
takeokunn wants to merge 1 commit into
mainfrom
feat/cli-deadcode-cleanup-20260712
Draft

Remove dead code from CLI package handlers#6
takeokunn wants to merge 1 commit into
mainfrom
feat/cli-deadcode-cleanup-20260712

Conversation

@takeokunn

Copy link
Copy Markdown
Collaborator

Summary

  • Delete packages/cli/src/handlers-pgo.lisp — never wired into cl-cc-cli.asd, fully orphaned (confirmed %maybe-write-pgo-profile etc. are not defined anywhere else in the tree, so this file was already dead at load time)
  • Strip unused helper functions found via dependency-graph analysis from handlers-ql.lisp, handlers-utils.lisp, handlers-advanced.lisp, handlers-repl.lisp, handlers-wasm.lisp, handlers-run.lisp, handlers-eval.lisp, main-utils.lisp, main-dump.lisp, dep-graph.lisp
  • Add test coverage for REPL command-argument parsing and watch/hot-reload helpers

Test plan

  • CI (ubuntu-24.04 + macos-15) green — local full-suite runs are unreliable on this machine (known macOS GC wedge), CI is the authoritative check

- Delete handlers-pgo.lisp (never wired into cl-cc-cli.asd, orphaned)
- Strip unused helper functions from handlers-ql.lisp, handlers-utils.lisp,
  handlers-advanced.lisp, handlers-repl.lisp, handlers-wasm.lisp,
  handlers-run.lisp, handlers-eval.lisp, main-utils.lisp, main-dump.lisp,
  dep-graph.lisp
- Add coverage for repl command-argument and watch/hot-reload helpers
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