Repository navigation
task-010: inline RADIUS attribute constants - #8
Merged
Merged
Conversation
6 tasks
Collaborator
Author
/ponytail-review
|
Igloczek
force-pushed
the
task/010-inline-radius-constants
branch
from
June 30, 2026 11:44
3b2625a to
4acb1f7
Compare
Remove node-radius-utils and radius-client.ts by inlining the four RFC 2865 attribute names and colocating the UDP Access-Request helper in util-server.ts. Add radius backend tests.
Igloczek
force-pushed
the
task/010-inline-radius-constants
branch
from
June 30, 2026 11:51
4acb1f7 to
6c9b0c7
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
task-010: inline RADIUS attribute constants
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/010-inline-radius-constants.md from the ponytail audit backlog.
Goal
Delete
radius-client.tsandnode-radius-utilsby inlining four RFC 2865 attribute names.Scope
USER_NAME,USER_PASSWORD,CALLING_STATION_ID,CALLED_STATION_IDconstants intosrc/server/util-server.ts(or a tinyradius-attrs.tsif cleaner).src/server/radius-client.tsif its logic is redundant with existingradiuspackage usage inutil-server.ts.node-radius-utilsfrompackage.json.Acceptance criteria
node-radius-utilsabsent frompackage.jsonandbun.lock.src/server/radius-client.tsdeleted or reduced to nothing exported.bun run test:backendpasses.bun run buildsucceeds.Depends on
Nothing.
Verification
bun run test:backend bun run build rg "node-radius-utils|radius-client" src package.jsonAudit reference
Finding #14 — RADIUS client +
node-radius-utils.