Skip to content

Refactor (1/5): small cleanups - #40

Open
yuuu wants to merge 2 commits into
mainfrom
refactor/small-cleanups
Open

yuuu wants to merge 2 commits into
mainfrom
refactor/small-cleanups

Conversation

@yuuu

@yuuu yuuu commented Oct 17, 2026

Copy link
Copy Markdown
Owner

First of a stacked series of refactoring PRs (each based on the previous one). No behavior change.

  • DeviceLink#send → #send_line: it shadowed Kernel#send.
  • Drop references to docs/known-bugs.md / docs/plan-phase4.md, which no longer exist; the comments now say what they meant inline.
  • Session: attr_reader for breakpoints/watches, #find in method_bp_for.
  • Transport::Loopback/Stdio: drop #close overrides identical to Base#close.
  • Json: build strings in an array and join once instead of repeated += (quadratic on large cat payloads).

Tested: rake test:unit (KO 0, Crash 0), rake test:smoke (0 failures).

🤖 Generated with Claude Code

https://claude.ai/code/session_01CpfQQRdc3R13RafigfCNVk

… overrides

- DeviceLink#send -> #send_line: it shadowed Kernel#send.
- Drop references to docs/known-bugs.md and docs/plan-phase4.md, which no
  longer exist; say what the comments meant inline instead.
- Session: attr_reader for breakpoints/watches, #find in method_bp_for.
- Transport::Loopback/Stdio: drop #close overrides identical to Base#close.
- Json: build strings in an array and join once instead of repeated +=.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CpfQQRdc3R13RafigfCNVk
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