mem: remove deprecated watcher.go, serializer.go, registry_store.go #231

Closed
opened 2026-03-10 10:13:49 +00:00 by ash · 0 comments
Owner

Problem

Three files are fully deprecated with replacements available:

File Lines Replacement
watcher.go 352 subscription/ package
serializer.go 207 codec.Codec interface
registry_store.go 269 eskit.Register[E](reg)

Total: 828 lines of dead code that:

  • Inflates binary size
  • Confuses new users (which API do I use?)
  • Requires maintenance (must compile, must not break)
  • Clutters godoc

Solution

  1. Check no internal code depends on these (only external users, who were warned by deprecation)
  2. Delete all three files and their test files
  3. Update README/docs to remove references
  4. Major version bump consideration (breaking change for anyone still using deprecated API)

Pillar: Memory Efficiency, Developer Experience

## Problem Three files are fully deprecated with replacements available: | File | Lines | Replacement | |------|-------|-------------| | `watcher.go` | 352 | `subscription/` package | | `serializer.go` | 207 | `codec.Codec` interface | | `registry_store.go` | 269 | `eskit.Register[E](reg)` | Total: **828 lines** of dead code that: - Inflates binary size - Confuses new users (which API do I use?) - Requires maintenance (must compile, must not break) - Clutters godoc ## Solution 1. Check no internal code depends on these (only external users, who were warned by deprecation) 2. Delete all three files and their test files 3. Update README/docs to remove references 4. Major version bump consideration (breaking change for anyone still using deprecated API) ## Pillar: Memory Efficiency, Developer Experience
ash closed this issue 2026-03-10 12:17:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/eskit#231
No description provided.