Skip to content

Code cleanup: duplication, dead code, and bad-practice backlog #147

Description

@Rushaway

Summary

Follow-up to #126. The bugs and resource leaks found in that audit are all merged; this issue tracks the remaining findings — duplication, dead code, and bad practices. None of these are correctness bugs on their own, but they make the codebase harder to maintain and, in a couple of cases, hide real inconsistencies (e.g. differing retry behavior between two code paths that look interchangeable).

Sub-issues

All 9 real findings are merged to master. VERSION is now 1.8.22.

Closed as invalid (3 of 12)

Checked each premise against the actual code before implementing rather than shipping the change:

Follow-ups filed for scope split out of a merged PR

Process

Lower risk than #126's items, but larger/more opinionated refactors — no fixed merge order needed since these are mostly independent of each other. Pick them up individually as time allows, each as its own PR.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions