Skip to content

chore: remove dead code (functions, error classes, unused params)#99

Merged
blaspat merged 1 commit into
mainfrom
chore/remove-dead-code
Jul 21, 2026
Merged

chore: remove dead code (functions, error classes, unused params)#99
blaspat merged 1 commit into
mainfrom
chore/remove-dead-code

Conversation

@blaspat

@blaspat blaspat commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Remove all dead code found during review.

Removed

  • Dead functions: _resolve_registry, _connection_summary (tools.py), run_server (wsserver/server.py + shims)
  • Dead error classes: AuthError, NodeNotConnectedError, NodeExecutionError, NodeReadError — remnants from deleted NodeEnvironment
  • Unused params: args in _cmd_status/_cmd_restart, registry in 4 impl functions
  • Phantom reference: reset_default_runner docstring mentions (never defined)
  • TYPE_CHECKING imports no longer needed

-158 lines, all tests pass, ruff clean.

- Remove dead functions: _resolve_registry, _connection_summary (tools.py),
  run_server (wsserver/server.py + shims)
- Remove dead error classes: AuthError, NodeNotConnectedError,
  NodeExecutionError, NodeReadError (errors.py)
- Remove unused params: args in _cmd_status/_cmd_restart (cli.py),
  registry in 4 impl functions (tools.py)
- Remove phantom reset_default_runner docstring references (lifecycle.py)
- Remove unused TYPE_CHECKING imports (tools.py)

Signed-off-by: Blasius Patrick <blasius.patrick@gmail.com>
@blaspat
blaspat merged commit b29fb2c into main Jul 21, 2026
2 checks passed
@blaspat
blaspat deleted the chore/remove-dead-code branch July 21, 2026 07:48
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