Repository navigation
Task 031: Split util-server.ts by domain - #31
Merged
Merged
Conversation
6 tasks
Collaborator
Author
/ponytail-review
Lean already. Ship.
|
Igloczek
force-pushed
the
task/031-split-util-server
branch
from
June 30, 2026 12:01
a0a3a76 to
cc4b97e
Compare
Break the ~1,069 LOC god module into focused domain files while keeping util-server.ts as a thin re-export barrel (48 LOC). New modules: settings-helpers, encoding, radius, tls-cert, ping, kafka, server-auth-helpers, http-utils, time-object, server-urls, shared-helpers. No logic changes — move code only.
Igloczek
force-pushed
the
task/031-split-util-server
branch
from
June 30, 2026 12:08
cc4b97e to
08f36bb
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Task 031: Split util-server.ts by domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/031-split-util-server.md from the ponytail audit backlog.
Goal
Break the ~1,069 LOC god module into focused files without changing behavior.
Scope
src/server/radius.ts(if not done in Task 010)src/server/tls-cert.tssrc/server/encoding.ts(chardet/iconv-lite)src/server/settings-helpers.tsutil-server.tsas a thin re-export barrel during migration, then shrink to only shared helpers.Acceptance criteria
util-server.tsis ≤400 LOC (or documents remaining shared surface).bun run test:backendpasses.bun run buildsucceeds.Depends on
Task 010 (radius inlined/split).
Verification
Audit reference
Finding #33 —
util-server.tsgod module.